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)); }
public async Task <ActionResult <int> > DeleteLogos(IEnumerable <CompanyLogo> logos, CancellationToken token) => await companyLogoProcessor.DeleteAsync(logos, token);