public async Task <IActionResult> Get(int amount, string from, string to) { var exchange = await _exchangeService.CalculateExchange(amount, from, to); if (exchange == null) { return(NotFound()); } return(Ok(exchange)); }
public async Task <IActionResult> Get(int amount, string from, string to) { var exchange = await _exchangeService.CalculateExchange(amount, from, to); if (exchange == null) { return(NotFound()); } return(Ok(exchange)); }