public async Task <PagedModel <V1CorporationShareholders> > ShareholdersAsync(SsoToken token, long corporationId, int page) { StaticMethods.CheckToken(token, WalletScopes.esi_wallet_read_corporation_wallets_v1); string url = StaticConnectionStrings.CheckTestingUrl(StaticConnectionStrings.CorporationV1ShareHolders(corporationId, page), _testing); EsiModel esiRaw = await PollyPolicies.WebExceptionRetryWithFallbackAsync.ExecuteAsync(async() => await _webClient.GetAsync(StaticMethods.CreateHeaders(token), url, 3600)); IList <EsiV1CorporationShareholders> esiModel = JsonConvert.DeserializeObject <IList <EsiV1CorporationShareholders> >(esiRaw.Model); IList <V1CorporationShareholders> mapped = _mapper.Map <IList <EsiV1CorporationShareholders>, IList <V1CorporationShareholders> >(esiModel); return(new PagedModel <V1CorporationShareholders> { CurrentPage = page, MaxPages = esiRaw.MaxPages, Model = mapped }); }