public ActionResult DeleteAdmin(int id, dbAdmins admin) { if (ModelState.IsValid) { bool deleteOK = _adminBLL.deleteAdmin(id); if (deleteOK) { return(RedirectToAction("ListAdmins")); } } return(View()); }