public ActionResult Delete(int id, Department department) { _buisnessLogicClass.DeleteDepartment(id); return(RedirectToAction(nameof(Index))); }
public ActionResult Delete(int id, Department department) { _buisnessLogicClass.DeleteDepartment(id); return(RedirectToAction(nameof(Index))); }