// GET: /Compaints/Discussions/{id} public ActionResult Discussions(int id) { ViewBag.Title = "Activity"; ViewBag.PageDescription = "Case Activity:"; var model = new ComplaintDetailsViewModel() { Id = id, Discussions = TryGetDiscussions(id), }; return View("Details", model); }
// GET: /Compaints/Comments/{id} public ActionResult Comments(int id) { ViewBag.Title = "Comments"; ViewBag.PageDescription = "Case Comments:"; var model = new ComplaintDetailsViewModel() { Id = id, Comments = TryGetComments(id), }; return View("Details", model); }
// GET: /Compaints/Overview/{id} public ActionResult Overview(int id) { ViewBag.Title = "Overview"; ViewBag.PageDescription = "Case Overview:"; CheckRempDataModelErrors(); var model = new ComplaintDetailsViewModel() { Id = id, Overview = TryGetDetails(id), }; SetCurrentCase(id); return View("Details", model); }