protected override Pizza CreatePizza(PizzaType type)
        {
            IPizzaIngredientFactory ingredient = new NYPizzaIngredientFactory();

            switch (type)
            {
                case PizzaType.Cheese:
                {
                    Pizza pizza = new CheesePizza(ingredient);
                    pizza.Name = "NY style Cheese Pizza";
                    return pizza;
                }
                case PizzaType.Calm:
                {
                    return new NYStyleCalmPizza();
                }
                case PizzaType.Pepperoni:
                {
                    return new NYStylePepperoniPizza();
                }
                case PizzaType.Veggie:
                {
                    return new NYStyleVeggiePizza();
                }
                default:
                {
                    return null;
                }
            }
        }
        protected override Pizza CreatePizza(PizzaType type)
        {
            IPizzaIngredientFactory ingredient = new ChicagoPizzaIngredientFactory();

            switch (type)
            {
                case PizzaType.Cheese:
                {
                    Pizza pizza = new CheesePizza(ingredient);
                    pizza.Name = "Chicago style Cheese Pizza";
                    return pizza;
                }
                default:
                {
                    return null;
                }
            }
        }