public IActionResult EditRole(Role role) { var editRole = new ManageRoles(); if(editRole.EditRoleById(role)) { return RedirectToAction("ListRoles", "Administration"); } else { ModelState.AddModelError("All", "Edit role unsusccesful"); return View(); } }