public async Task <IActionResult> BuyCurrencyAsync([FromBody] BuyCurrencyOrder model) { await _exchangeService.BuyCurrency(model); _logger.LogInformation($"User: {model.UserId} Bought {model.Currency}"); return(Ok()); }
public async Task <IActionResult> BuyCurrencyAsync([FromBody] BuyCurrencyOrder model) { await _exchangeService.BuyCurrency(model); _logger.LogInformation($"User: {model.UserId} Bought {model.Currency}"); return(Ok()); }