Exemple #1
0
 public bool IsInRole(RoleEnum roleEnum)
 {
     return(IsInRole(RolesMapper.GetByEnum(roleEnum)));
 }
 public static IEnumerable <User> GetAllByRoleEnum(RoleEnum roleEnum)
 {
     return(GetAllByRole(RolesMapper.GetByEnum(roleEnum)));
 }