Example #1
0
        // GET: Comments
        public ActionResult Index(int id)
        {
            var comment = _db.GetAll(id);

            //var comment = _db.Comment.Include(c => c.Post);
            return(View(comment.ToList()));
        }