public IActionResult Get(int id) { try { var rate = rateRepository.GetRateById(id); return(Ok(rate)); } catch (Exception e) { throw e; } }