public ActionResult NotesSummaryList(int parentID) { var model = new NotesSummaryListVM { SummaryItems = NotesService.GetNotes(parentID), ParentID = parentID }; return(PartialView("~/App/Notes/Views/NotesSummaryList.cshtml", model)); }
public ActionResult FollowupComplete(NoteFollowupSaveRequest model) { var user = Global.Default.User(); NotesService.SaveNoteFollowup(model, user.ID.Value); var noteSummary = NotesService.GetNoteSummary(model.NoteID); var retModel = new NotesSummaryListVM() { SummaryItems = new List <NoteDetailsDTO> { noteSummary } }; return(PartialView("~/App/Notes/Views/NotesSummaryList.cshtml", retModel)); }