Ejemplo n.º 1
0
 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));
 }
Ejemplo n.º 2
0
 public async Task <ActionResult <bool> > SaveOutputAtR([FromBody] long[] ids)
 => await hubContext.DoAsync(async token => {
     await matchingOutputedProcessor.SaveOutputAtAsync(ids, token);
     return(true);
 });