public ActionResult AddComment(CommentViewModel model) { model.Commenter = User.Identity.Name; _commentRepository.Add(model.MapComment()); var photo = new DetailsPhotoViewModel(); var picture = _photoRepository.FindById(model.PhotoId); photo.MapPhoto(picture); return(PartialView("Comments", photo.Comments)); }