Esempio n. 1
0
 public async Task<MatchingJournalizingsResult> ExtractMatchingJournalizingAsync(string SessionKey, JournalizingOption option)
     => await authorizationProcessor.DoAuthorizeAsync(SessionKey, async token =>
     {
         var result = await matchingJournalizingProcessor.ExtractAsync(option, token);
         return new MatchingJournalizingsResult
         {
             ProcessResult = new ProcessResult { Result = true },
             MatchingJournalizings = result.ToList(),
         };
     }, logger);
Esempio n. 2
0
 public async Task <ActionResult <IEnumerable <MatchingJournalizing> > > ExtractMatchingJournalizingR(JournalizingOption option)
 => await hubContext.DoAsync(async token
                             => (await matchingJournalizingProcessor.ExtractAsync(option, token)).ToArray());