public static void AssertRoleOrThrow(this IApplicationRolesAccess access, string roleIdentifier) { access.ApplicationRoles.AssertRoleOrThrow(roleIdentifier); }
public static bool HasRole(this IApplicationRolesAccess access, string roleIdentifier) { return(access.ApplicationRoles.HasRole(roleIdentifier)); }