Пример #1
0
        public PizzaBase OrderPizza(string type)
        {
            PizzaBase pizza = factory.CreatePizza(type);

            pizza.Display();

            pizza.Prepare();
            pizza.Bake();
            pizza.Cut();
            pizza.Box();

            return(pizza);
        }