public async Task <PagedModel <V5AssetsCharacter> > CharactersAsync(SsoToken token, int page) { StaticMethods.CheckToken(token, AssetScopes.esi_assets_read_assets_v1); string url = StaticConnectionStrings.CheckTestingUrl(StaticConnectionStrings.AssetsV5Characters(token.CharacterId, page), _testing); EsiModel raw = await PollyPolicies.WebExceptionRetryWithFallbackAsync.ExecuteAsync(async() => await _webClient.GetAsync(StaticMethods.CreateHeaders(token), url, 3600)); IList <EsiV5AssetsCharacter> esiCharacterAssets = JsonConvert.DeserializeObject <IList <EsiV5AssetsCharacter> >(raw.Model); IList <V5AssetsCharacter> mapped = _mapper.Map <IList <EsiV5AssetsCharacter>, IList <V5AssetsCharacter> >(esiCharacterAssets); return(new PagedModel <V5AssetsCharacter> { Model = mapped, MaxPages = raw.MaxPages, CurrentPage = page }); }