Пример #1
0
 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);
Пример #2
0
 public async Task <IEnumerable <JournalizingSummary> > GetReceiptJournalizingSummaryAsync(JournalizingOption option)
 {
     return((await receiptJournalizingProcessor.GetSummaryAsync(option)).ToArray());
 }