예제 #1
0
        public IActionResult GetOrder(int orderId)
        {
            var order = _orderInfoRepository.GetOrder(orderId);

            if (order == null)
            {
                return(StatusCode(500, "The order is empty!"));
            }


            return(Ok(order));
        }