// GET: Home
        public ActionResult Index()
        {
            var VM       = new Models.VielModelComments();
            var Comments = VM.Comments.Take(5);

            return(View(Comments));
        }
Example #2
0
        public ActionResult _CommentsListById(int id)
        {
            var VM       = new Models.VielModelComments();
            var Comments = VM.Comments.Where(c => c.ID == id);

            return(View("_CommentList", Comments));
        }