public async Task <OperationResponse> CreateAsync(List <ApiScope> apiScopes) { return(await _apiScopeRepository.InsertAsync(apiScopes.ToArray())); }
public async Task <OperationResponse> CreateApiResourceAsync(ApiResource apiResource) { return(await _apiResourceRepository.InsertAsync(apiResource)); }
public async Task <OperationResponse> CreateAsync(Client client) { return(await _clientRepository.InsertAsync(client)); }
public async Task <OperationResponse> CreateAsync(ApiScope[] apiScopes) { return(await _apiScopeRepository.InsertAsync(apiScopes)); }