public async Task <GeneralJournalizingsResult> ExtractReceiptGeneralJournalizingAsync(string SessionKey, JournalizingOption option) => await authorizationProcessor.DoAuthorizeAsync(SessionKey, async token => { var result = await receiptJournalizingProcessor.ExtractGeneralAsync(option, token); return(new GeneralJournalizingsResult { ProcessResult = new ProcessResult { Result = true }, GeneralJournalizings = result.ToList(), }); }, logger);
public async Task <IEnumerable <GeneralJournalizing> > ExtractReceiptGeneralJournalizingAsync(JournalizingOption option) { return((await receiptJournalizingProcessor.ExtractGeneralAsync(option)).ToArray()); }