// GET: Task public ActionResult Index() { var data = bLTask.GetAll(); var Clients = clientModel.GetAll(); ViewBag.Clients = new SelectList(Clients, "ID", "Name"); return(View(data)); }
// GET: Client public ActionResult Index() { BLClientModel client = new BLClientModel(); var clients = client.GetAll(); return(View(clients)); }
public ActionResult OpenTaskNote(long id) { BLTaskNote taskNote = new BLTaskNote(); var Clients = clientModel.GetAll(); ViewBag.Clients = new SelectList(Clients, "ID", "Name"); var casenote = taskNote.GetByCaseId(id); return(PartialView("_partialTaskNote", casenote)); }