public async Task <PeriodicBillingSettingResult> SaveAsync(string sessionKey, PeriodicBillingSetting setting)
 => await authorizationProcessor.DoAuthorizeAsync(sessionKey, async token => {
     var result = await periodicBillingSettingProcessor.SaveAsync(setting, token);
     return(new PeriodicBillingSettingResult {
         ProcessResult = new ProcessResult {
             Result = true
         },
         PeriodicBillingSetting = result,
     });
 }, logger);
Beispiel #2
0
 public async Task <ActionResult <PeriodicBillingSetting> > Save(PeriodicBillingSetting setting, CancellationToken token)
 => await periodicBillingSettingProcessor.SaveAsync(setting, token);