Exemplo n.º 1
0
        public IActionResult CheckPayment(string paymentRef)
        {
            bool isPaymentSuccess = _saleService.CheckPayment(paymentRef);

            if (isPaymentSuccess)
            {
                return(NoContent());
            }
            return(BadRequest());
        }