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)); }
public async Task <int> DeleteWorkTable(BillingInvoiceSearch option, CancellationToken token) => await billingInvoiceProcessor.DeleteWorkTableAsync(option.ClientKey, token);