Пример #1
0
 public async Task <CountResult> OmitAsync(string sessionKey, int doDelete, int loginUserId, Transaction[] transactions)
 => await authorizationProcessor.DoAuthorizeAsync(sessionKey, async token
                                                  => await receiptProcessor.OmitAsync(new OmitSource {
     DoDelete     = doDelete == 1,
     LoginUserId  = loginUserId,
     Transactions = transactions,
 }, token), logger);
Пример #2
0
 public async Task <CountResult> Omit(OmitSource source, CancellationToken token)
 => await receiptProcessor.OmitAsync(source, token);