Example #1
0
 public ActionResult Edit(int id)
 {
     if (TempData["saved"] != null)
     {
         ViewBag.SuccessMessage = "Timesheet Saved";
         TempData.Remove("saved");
     }
     Models.Timesheet.Timesheet tsViewModel = _tsUtil.GetTimeSheet(id);
     return(View(tsViewModel));
 }
Example #2
0
 public ActionResult ReviewTimeSheet(int id)
 {
     Models.Timesheet.Timesheet tsViewModel = _tsUtil.GetTimeSheet(id);
     return(View(tsViewModel));
 }