Example #1
0
        public void CreateFood(string name, decimal price, int foodCategoryId, BFoodCategory foodCategory)
        {
            BFood          food           = new BFood(name, price, foodCategoryId, foodCategory);
            FoodController foodController = new FoodController();

            foodController.CreateFood(food);
        }