Example #1
0
 public async Task <CountResult> SaveAsync(string SessionKey, WebApiSetting setting)
 => await authorizationProcessor.DoAuthorizeAsync(SessionKey, async token => {
     var result = await webApiSettingProcessor.SaveAsync(setting, token);
     return(new CountResult {
         ProcessResult = new ProcessResult {
             Result = true
         },
         Count = result,
     });
 }, logger);
Example #2
0
 public async Task <int> SaveAsync(WebApiSetting setting, CancellationToken token)
 => await webApiSettingProcessor.SaveAsync(setting, token);