public ActionResult DeleteAdmin(int id, AdminBruker slettKunde) { if (loginCheck() == false) { return RedirectToAction("LoggInn"); } var adminDb = new AdminBLL(); bool slettOK = adminDb.deleteAdmin(id); if (slettOK) { return RedirectToAction("ListAdmins"); } return View(); }