public async Task <IActionResult> CoinRatesByAcronim(string acronim) { try { List <spGetCoinRatesByAcronimResult> result = await _ratesRepository.GetCoinsByAcronimAsync(acronim); return(Ok(result)); } catch (Exception e) { return(BadRequest(e.Message)); } }