Пример #1
0
        public async Task <KeyValue> GetCountryCurrency(string countryCode)
        {
            var response = await client.CountryCurrencyAsync(countryCode);

            var result = response.Body.CountryCurrencyResult;

            return(new KeyValue
            {
                Id = result.sISOCode,
                Value = result.sName
            });
        }