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