public async Task <IActionResult> AcceptedCoins() { var coins = await service.GetAcceptedCoinsAsync(); var models = coins.Select(x => new { x.Value }).ToList(); return(Ok(models)); }
public async Task <IActionResult> AcceptedCoins() { var coins = await service.GetAcceptedCoinsAsync(); var models = coins.Select(x => new { x.Value }).ToList(); return(Ok(models)); }