public ActionResult DeleteJobCategory(JobsCategoriesViewModel JobCategoryVM) { JobsCategoriesBLL jobCategoryBLL = new JobsCategoriesBLL(); jobCategoryBLL.LoginIdentity = UserIdentity; jobCategoryBLL.Remove(JobCategoryVM.JobCategoryID.Value); return(RedirectToAction("Index")); }