public IActionResult GetById(int Id) { var coin = _coinRepository.GetById(Id); var coinDto = _mapper.Map <CoinDto>(coin); return(Ok(coinDto)); }