コード例 #1
0
ファイル: ReceiptService.svc.cs プロジェクト: fwka1605/next
 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());
 }