Ejemplo n.º 1
0
        public async Task <IEnumerable <Transaction> > GetAsync()
        {
            var url = _ConfigGetter.GetConnectionString(ConfigurationKeys.TRANSACTIONS);

            var response = await _Client.GetAsync(url);

            var serialized = _Serializer.Serialize(response);

            return(serialized);
        }
Ejemplo n.º 2
0
        public async Task <IEnumerable <ExchangeRate> > GetAsync()
        {
            var url = _ConfigGetter.GetConnectionString(ConfigurationKeys.EXCHANGERATES);

            var response = await _Client.GetAsync(url);

            var serialized = _Serializer.Serialize(response);

            return(serialized);
        }