public async Task <MatchingHistoryResult> SaveOutputAtAsync(string SessionKey, long[] MatchingHeaderId) { return(await authorizationProcessor.DoAuthorizeAsync(SessionKey, async token => { await matchingOutputedProcessor.SaveOutputAtAsync(MatchingHeaderId, token); return new MatchingHistoryResult { ProcessResult = new ProcessResult { Result = true } }; }, logger)); }
public async Task <ActionResult <bool> > SaveOutputAtR([FromBody] long[] ids) => await hubContext.DoAsync(async token => { await matchingOutputedProcessor.SaveOutputAtAsync(ids, token); return(true); });