Exemplo n.º 1
0
 public ActionResult CompletedDetails(string name, DateTime dueDate)
 {
     Administration administration = new Administration(ViewBag.EmployeeID);
     ViewBag.Name = name;
     ViewBag.DueDate = dueDate.ToShortDateString();
     return PartialView("_CompletedDetails", administration);
 }
Exemplo n.º 2
0
 public ActionResult Remove(long id)
 {
     Administration administration = new Administration(ViewBag.EmployeeID);
     administration.Delete(id);
     ViewBag.ReturnToHub = Resources.Literals.ReturnToControlCenter;
     return View("Dashboard", administration);
 }
Exemplo n.º 3
0
 public ActionResult Dashboard()
 {
     Administration administration = new Administration(ViewBag.EmployeeID);
     ViewBag.ReturnToHub = Resources.Literals.ReturnToControlCenter;
     return View(administration);
 }
Exemplo n.º 4
0
 public ActionResult Completed()
 {
     Administration administration = new Administration(ViewBag.EmployeeID);
     return PartialView("_Completed", administration);
 }
Exemplo n.º 5
0
 public ActionResult Open()
 {
     Administration administration = new Administration(ViewBag.EmployeeID);
     return PartialView("_Open", administration);
 }