コード例 #1
0
        public IActionResult Get(int id)
        {
            FoodOrder foodOrder = dbFoodOrder.GetEntity(id);

            if (foodOrder == null)
            {
                return(NotFound());
            }
            return(new ObjectResult(foodOrder));
        }