Beispiel #1
0
 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);
Beispiel #2
0
 public async Task <IEnumerable <GeneralJournalizing> > ExtractReceiptGeneralJournalizingAsync(JournalizingOption option)
 {
     return((await receiptJournalizingProcessor.ExtractGeneralAsync(option)).ToArray());
 }