public IActionResult Role(int id, string selectedRole, string returnUrl = null) { repository.AssignRoleToUser(id, selectedRole); return(RedirectToLocal(returnUrl)); }