public async Task <ActionResult <IReadOnlyCollection <CoinDto> > > GetAsync() { IReadOnlyCollection <CoinDto> coins = await _coinService.GetAllAsync <CoinDto>(); return(Ok(coins)); }
public async Task <ActionResult <IReadOnlyCollection <PriceDto> > > GetAsync() { IReadOnlyCollection <PriceDto> prices = await _coinService.GetAllAsync <PriceDto>(); return(Ok(prices)); }