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);
public async Task <ActionResult <IEnumerable <MatchingJournalizingDetail> > > GetMatchingJournalizingDetailR(JournalizingOption option) => await hubContext.DoAsync(async token => (await matchingJournalizingProcessor.GetDetailsAsync(option, token)).ToArray());