示例#1
0
        public async Task <ActionResult> GetOrderItemBYIdAsync(int Id)
        {
            var orderItem = await _OrderItemService.FindByIdAsync(Id);

            if (orderItem == null)
            {
                return(NotFound("This Client Id does not exist."));
            }

            return(new JsonResult(orderItem));
        }