示例#1
0
 public static void AssertRoleOrThrow(this IApplicationRolesAccess access, string roleIdentifier)
 {
     access.ApplicationRoles.AssertRoleOrThrow(roleIdentifier);
 }
示例#2
0
 public static bool HasRole(this IApplicationRolesAccess access, string roleIdentifier)
 {
     return(access.ApplicationRoles.HasRole(roleIdentifier));
 }