public Task AddClaimAsync( [Summary("Claim to be added")] AuthorizationClaim claim, [Summary("Access of a claim, whether granted or denied")] ClaimMappingType type, [Summary("Role which to add the claim to")] IRole role) { return(_authorizationService.AddClaimMappingAsync(role, type, claim)); }
public async Task AddClaimAsync( [Summary("Claim to be added")] AuthorizationClaim claim, [Summary("Access of a claim, whether granted or denied")] ClaimMappingType type, [Remainder] [Summary("Role which to add the claim to")] IRole role) { await _authorizationService.AddClaimMappingAsync(role, type, claim); await Context.AddConfirmation(); }