public async Task <ActionResult <IEnumerable <CoinReadDto> > > GetAllCoins() { var coins = await _coinService.GetAllCoinsAsync(); _logger.LogInfo($"Returned all coins from database."); return(Ok(coins)); }
public async Task <ActionResult <IEnumerable <CoinReadDto> > > GetAllCoins() { var coins = await _coinService.GetAllCoinsAsync(); _logger.LogInfo($"Returned all coins from database."); return(Ok(coins)); }