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