public IActionResult delete(DepartmentVM dpt) { repo.delete(dpt); return(RedirectToAction("index")); }