public ActionResult CompletedDetails(string name, DateTime dueDate) { Administration administration = new Administration(ViewBag.EmployeeID); ViewBag.Name = name; ViewBag.DueDate = dueDate.ToShortDateString(); return PartialView("_CompletedDetails", administration); }
public ActionResult Remove(long id) { if (MissingEmployeeID) return RedirectToLogin(); Administration administration = new Administration(ViewBag.EmployeeID); administration.Delete(id, ViewBag.EmployeeID); ViewBag.ReturnToHub = Resources.Literals.ReturnToControlCenter; return View("Dashboard", administration); }
public ActionResult Dashboard() { if (MissingEmployeeID) return RedirectToLogin(); Administration administration = new Administration(ViewBag.EmployeeID); ViewBag.ReturnToHub = Resources.Literals.ReturnToControlCenter; return View(administration); }
public ActionResult Completed() { Administration administration = new Administration(ViewBag.EmployeeID); return PartialView("_Completed", administration); }
public ActionResult Open() { Administration administration = new Administration(ViewBag.EmployeeID); return PartialView("_Open", administration); }