public async Task <IList <V1ContactCorporationLabel> > CorporationLabelsAsync(SsoToken token, int corporationId) { StaticMethods.CheckToken(token, CorporationScopes.esi_corporations_read_contacts_v1); string url = StaticConnectionStrings.CheckTestingUrl(StaticConnectionStrings.ContactsV1CorporationLabels(corporationId), _testing); EsiModel esiRaw = await PollyPolicies.WebExceptionRetryWithFallbackAsync.ExecuteAsync(async() => await _webClient.GetAsync(StaticMethods.CreateHeaders(token), url, 300)); IList <EsiV1ContactCorporationLabel> esiModel = JsonConvert.DeserializeObject <IList <EsiV1ContactCorporationLabel> >(esiRaw.Model); return(_mapper.Map <IList <EsiV1ContactCorporationLabel>, IList <V1ContactCorporationLabel> >(esiModel)); }