public ActionResult Edit(Models.NewCommentModel collection)
        {
            var comm = commentService.Get(collection.Id);

            comm.Text = collection.Text;
            commentService.Update(comm);
            return(RedirectToAction("Details", "Posts", new { id = comm.PostId }));
        }
        public ActionResult Edit(int id)
        {
            var commEntity = commentService.Get(id);
            var commModel  = new Models.NewCommentModel()
            {
                Id = commEntity.Id, PostId = commEntity.PostId, UserId = commEntity.UserId, Text = commEntity.Text
            };

            return(View(commModel));
        }