Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public ActionResult NewsFeed()
- {
- Models.Diry dir = new Models.Diry();
- DAC.UserAuth u = new DAC.UserAuth();
- ViewBag.dirs = u.fetchDiaries();
- return View();
- }
- @{ foreach (var tmp in ViewBag.dirs){
- <div class="post-text">
- <p>@tmp.content</p>
- </div>
- }
- }
Add Comment
Please, Sign In to add comment