public async Task <IActionResult> GetLastCoinsRates() { try { List <spGetLastCoinsRatesResult> result = await _ratesRepository.GetLastCoinsRatesAsync(); return(Ok(result)); } catch (Exception e) { return(BadRequest(e.Message)); } }