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);
public async Task <int> DeleteAsync(WebApiSetting setting, CancellationToken token) => await webApiSettingProcessor.DeleteAsync(setting.CompanyId, setting.ApiTypeId, token);