Ejemplo n.º 1
0
 public async Task <CountResult> DeleteAsync(string SessionKey, int CompanyId, int?ApiTypeId)
 => await authorizationProcessor.DoAuthorizeAsync(SessionKey, async token => {
     var result = await webApiSettingProcessor.DeleteAsync(CompanyId, ApiTypeId);
     return(new CountResult {
         ProcessResult = new ProcessResult {
             Result = true
         },
         Count = result,
     });
 }, logger);
Ejemplo n.º 2
0
 public async Task <int> DeleteAsync(WebApiSetting setting, CancellationToken token)
 => await webApiSettingProcessor.DeleteAsync(setting.CompanyId, setting.ApiTypeId, token);