public ActionResult EmployeeDelete(int EmployeeId) { using (var dbCntx = new HrDataContext()) { var result = dbCntx.usp_EmployeeDelete(BRANCHID, EmployeeId); } return(RedirectToAction("employeedirectory")); }