コード例 #1
0
        public async Task <IActionResult> GetLastCoinsRates()
        {
            try
            {
                List <spGetLastCoinsRatesResult> result = await _ratesRepository.GetLastCoinsRatesAsync();

                return(Ok(result));
            }
            catch (Exception e)
            {
                return(BadRequest(e.Message));
            }
        }