コード例 #1
0
        public OrderDto GetOrderById(int orderId)
        {
            var order = _repo.GetOrderById(orderId);

            if (order == null)
            {
                throw new NotFoundException("Not found");
            }
            return(order);
        }