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