public async Task <IList <V1CalendarSummary> > SummariesAsync(SsoToken token, int fromEvent) { StaticMethods.CheckToken(token, CalendarScopes.esi_calendar_read_calendar_events_v1); string url = StaticConnectionStrings.CheckTestingUrl(StaticConnectionStrings.CalendarV1Summaries(token.CharacterId, fromEvent), _testing); EsiModel esiRaw = await PollyPolicies.WebExceptionRetryWithFallbackAsync.ExecuteAsync(async() => await _webClient.GetAsync(StaticMethods.CreateHeaders(token), url, 5)); IList <EsiV1CalendarSummary> esiModel = JsonConvert.DeserializeObject <IList <EsiV1CalendarSummary> >(esiRaw.Model); return(_mapper.Map <IList <V1CalendarSummary> >(esiModel)); }