Exemplo n.º 1
0
 public ActionResult SaveNew(JobsModel model)
 {
     model.NewJob.EmployeeName = User.Identity.Name;
     _workService.AddJob(model.NewJob);
     return(RedirectToAction("Index", "Work"));
 }