예제 #1
0
        public async Task <IList <int> > AttributesAsync()
        {
            string url = StaticConnectionStrings.CheckTestingUrl(StaticConnectionStrings.DogmaV1Attributes(), _testing);

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

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