public IActionResult Get(int id) { FoodOrder foodOrder = dbFoodOrder.GetEntity(id); if (foodOrder == null) { return(NotFound()); } return(new ObjectResult(foodOrder)); }