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)); }
public async Task <CountResult> Omit(OmitSource source, CancellationToken token) => await billingProcessor.OmitAsync(source, token);