// // GET: /Posts/ public ActionResult Index() { var postManager=new PostManager(); var model = new IndexModel(); model.Posts = postManager.GetAllPosts(); return View(model); }
// // GET: /Posts/ public ActionResult Index() { var postManager=new PostManager(); var model = new IndexModel(); model.Posts = postManager.GetAllPosts(); return View(model); }