예제 #1
0
 public async Task <CountResult> OmitAsync(string SessionKey, int doDelete, int loginUserId, Transaction[] transactions)
 {
     return(await authorizationProcessor.DoAuthorizeAsync(SessionKey, async token
                                                          => await billingProcessor.OmitAsync(new OmitSource {
         DoDelete = doDelete == 1,
         LoginUserId = loginUserId,
         Transactions = transactions,
     }, token), logger));
 }
예제 #2
0
 public async Task <CountResult> Omit(OmitSource source, CancellationToken token)
 => await billingProcessor.OmitAsync(source, token);