コード例 #1
0
ファイル: MatchingService.svc.cs プロジェクト: fwka1605/next
 public async Task<MatchingJournalizingDetailsResult> GetMatchingJournalizingDetailAsync(string SessionKey, JournalizingOption option)
     => await authorizationProcessor.DoAuthorizeAsync(SessionKey, async token =>
     {
         var result = await matchingJournalizingProcessor.GetDetailsAsync(option, token);
         return new MatchingJournalizingDetailsResult
         {
             ProcessResult = new ProcessResult { Result = true },
             MatchingJournalizingDetails = result.ToList(),
         };
     }, logger);
コード例 #2
0
ファイル: MatchingController.cs プロジェクト: fwka1605/next
 public async Task <ActionResult <IEnumerable <MatchingJournalizingDetail> > > GetMatchingJournalizingDetailR(JournalizingOption option)
 => await hubContext.DoAsync(async token
                             => (await matchingJournalizingProcessor.GetDetailsAsync(option, token)).ToArray());