public async Task Post()
        {
            var prices = await _coinRepository.GetPricesAsync();

            foreach (var price in prices)
            {
                await _priceRepository.SaveAsync(price);
            }
        }
Exemple #2
0
        public async Task <IEnumerable <SnapshotPrice> > Get()
        {
            var prices = await _coinRepository.GetPricesAsync();

            return(prices);
        }