Example #1
0
 public async Task <ReceiptJournalizingsResult> ExtractReceiptJournalizingAsync(string SessionKey, JournalizingOption option)
 => await authorizationProcessor.DoAuthorizeAsync(SessionKey, async token =>
 {
     var result = await receiptJournalizingProcessor.ExtractAsync(option, token);
     return(new ReceiptJournalizingsResult
     {
         ProcessResult = new ProcessResult {
             Result = true
         },
         ReceiptJournalizings = result.ToList(),
     });
 }, logger);
Example #2
0
 public async Task <IEnumerable <ReceiptJournalizing> > ExtractReceiptJournalizingAsync(JournalizingOption option)
 {
     return((await receiptJournalizingProcessor.ExtractAsync(option)).ToArray());
 }