public ActionResult Delete(int id) { AdminDAO adminDAO = new AdminDAO(); adminDAO.Delete(id); List <AdminModel> users = adminDAO.FetchAll(); return(View("Index", users)); }