Esempio n. 1
0
 public ActionResult Delete(long id)
 {
     try
     {
         var model = _jobHistoryService.GetJobHistoyById(id);
         _jobHistoryService.DeleteJobHistoy(model);
         return(RedirectToAction("Index", "JobHistory"));
     }
     catch
     {
         return(View("Error"));
     }
 }