Пример #1
0
 public async Task<MatchingJournalizingProcessResult> UpdateOutputAtAsync(string SessionKey, JournalizingOption option)
     => await authorizationProcessor.DoAuthorizeAsync(SessionKey, async token =>
     {
         await matchingJournalizingProcessor.UpdateAsync(option, token);
         return new MatchingJournalizingProcessResult { ProcessResult = new ProcessResult { Result = true } };
     }, logger);
Пример #2
0
 public async Task <ActionResult <int> > UpdateOutputAtR(JournalizingOption option)
 => await hubContext.DoAsync(async token => await matchingJournalizingProcessor.UpdateAsync(option, token));