public ActionResult DeleteStudent(int id = 0) { Staff staff = new Staff(); if (id > 0) { staffRepository.DelectStaffs(id); } return(RedirectToAction("Index")); }