Example #1
0
        public async Task <IActionResult> SellTrade([FromBody] TransactionModel transactionModel)
        {
            if (!ModelState.IsValid)
            {
                return(BadRequest(ModelState));
            }
            TransactionResponse response = await _sellerService.Execute(transactionModel);

            return(Ok(response));
        }