public async Task <CountResult> DeleteAsync(string sessionKey, long id)
 => await authorizationProcessor.DoAuthorizeAsync(sessionKey, async token => {
     var result = await periodicBillingSettingProcessor.DeleteAsync(id, token);
     return(new CountResult {
         ProcessResult = new ProcessResult {
             Result = true
         },
         Count = result,
     });
 }, logger);
Exemplo n.º 2
0
 public async Task <ActionResult <int> > Delete(long id, CancellationToken token)
 => await periodicBillingSettingProcessor.DeleteAsync(id, token);