コード例 #1
0
 public async Task <CountResult> DeleteLogosAsync(string SessionKey, IEnumerable <CompanyLogo> CompanyLogos)
 {
     return(await authorizationProcessor.DoAuthorizeAsync(SessionKey, async token =>
     {
         var result = await companyLogoProcessor.DeleteAsync(CompanyLogos, token);
         return new CountResult
         {
             ProcessResult = new ProcessResult {
                 Result = true
             },
             Count = result
         };
     }, logger));
 }
コード例 #2
0
 public async Task <ActionResult <int> > DeleteLogos(IEnumerable <CompanyLogo> logos, CancellationToken token)
 => await companyLogoProcessor.DeleteAsync(logos, token);