Exemplo n.º 1
0
        public async Task <IActionResult> BuyCurrencyAsync([FromBody] BuyCurrencyOrder model)
        {
            await _exchangeService.BuyCurrency(model);

            _logger.LogInformation($"User: {model.UserId} Bought {model.Currency}");
            return(Ok());
        }