public async Task <JournalizingSummariesResult> GetReceiptJournalizingSummaryAsync(string SessionKey, JournalizingOption option) => await authorizationProcessor.DoAuthorizeAsync(SessionKey, async token => { var result = await receiptJournalizingProcessor.GetSummaryAsync(option, token); return(new JournalizingSummariesResult { ProcessResult = new ProcessResult { Result = true }, JournalizingsSummaries = result.ToList(), }); }, logger);
public async Task <IEnumerable <JournalizingSummary> > GetReceiptJournalizingSummaryAsync(JournalizingOption option) { return((await receiptJournalizingProcessor.GetSummaryAsync(option)).ToArray()); }