示例#1
0
        public async Task <IList <int> > EffectsAsync()
        {
            string url = StaticConnectionStrings.CheckTestingUrl(StaticConnectionStrings.DogmaV1Effects(), _testing);

            EsiModel esiRaw = await PollyPolicies.WebExceptionRetryWithFallbackAsync.ExecuteAsync(async() => await _webClient.GetAsync(StaticMethods.CreateHeaders(), url, SecondsToDT()));

            return(JsonConvert.DeserializeObject <IList <int> >(esiRaw.Model));
        }