Пример #1
0
 public async Task <CountResult> DeleteWorkTableAsync(string SessionKey, byte[] ClientKey)
 {
     return(await authorizationProcessor.DoAuthorizeAsync(SessionKey, async token =>
     {
         var result = await billingInvoiceProcessor.DeleteWorkTableAsync(ClientKey, token);
         return new CountResult
         {
             ProcessResult = new ProcessResult {
                 Result = true
             },
             Count = result,
         };
     }, logger));
 }
Пример #2
0
 public async Task <int> DeleteWorkTable(BillingInvoiceSearch option, CancellationToken token)
 => await billingInvoiceProcessor.DeleteWorkTableAsync(option.ClientKey, token);