Exemple #1
0
 public async Task <NettingResult> DeleteAsync(string SessionKey, long[] NettingId)
 {
     return(await authorizationProcessor.DoAuthorizeAsync(SessionKey, async token =>
     {
         var rseult = await nettingProcessor.DeleteAsync(NettingId, token);
         return new NettingResult
         {
             ProcessResult = new ProcessResult {
                 Result = true
             },
         };
     }, logger));
 }
Exemple #2
0
 public async Task <ActionResult <int> > Delete([FromBody] IEnumerable <long> ids, CancellationToken token)
 => await nettingProcessor.DeleteAsync(ids, token);