public ActionResult Create(JobHistory model) { try { _jobHistoryService.AddJobHistoy(model); return(RedirectToAction("Index", "JobHistory")); } catch { return(View("Error")); } }
public ActionResult Create(JobHistory model) { try { _jobHistoryService.AddJobHistoy(model); return(RedirectToAction("Index", "JobHistory")); } catch { return(View("Error")); } }