public async Task <ReceiptApportionsResult> Apportion(IEnumerable <ReceiptApportion> apportions, CancellationToken token) => await receiptApportionProcessor.ApportionAsync(apportions, token);
public async Task <ReceiptApportionsResult> ApportionAsync(string SessionKey, ReceiptApportion[] receiptList) { return(await authorizationProcessor.DoAuthorizeAsync(SessionKey, async token => await receiptApportionProcessor.ApportionAsync(receiptList, token), logger)); }