public ActionResult LikeComment(string Id, int ItemId) { DataRepository helper = new DataRepository(); helper.LikeComment(Id); Item item = helper.getItem(ItemId); IList<ItemComment> comments = helper.getComments(ItemId); IList<Link> links = helper.getLinks(ItemId); DiscussionViewModel model = new DiscussionViewModel(ItemId, comments, links, "", "", item, "", "","",""); ViewData["Id"] = Id; return PartialView(model); }