public ActionResult DeleteWorker(long id) { if (hrServices.DeleteWorker(id)) { return(RedirectToAction("DisplayListOfWorkers")); } return(View()); }
public ActionResult DeleteWorker(long id) { if (hrServices.DeleteWorker(id)) { return(RedirectToAction("DisplayListOfWorkers")); } return(View()); }