// GET: Comments public ActionResult Index(int id) { var comment = _db.GetAll(id); //var comment = _db.Comment.Include(c => c.Post); return(View(comment.ToList())); }
// GET: Comments public ActionResult Index(int id) { var comment = _db.GetAll(id); //var comment = _db.Comment.Include(c => c.Post); return(View(comment.ToList())); }