private void GetAllUserRoles() { UserRoleList.Clear(); _userRoleService.GetAllUserRoles().ToList().ForEach(x => { UserRoleList.Add(x); }); }
public static IList <UserRole> GetAllUserRoles() { return(UserRoleService.GetAllUserRoles()); }