title: Pass data from .cs file to cshtml file
body: <p>I my application I am using aspx as well as mvc controller pages but now one scenario occurred where I have to pass data from both to my view cshtml. From controller I have used viewBag to pass data but I don't know how should i pass data from .cs file ?</p>