Example #1
0
        public Pizza orderPizza(string type)
        {
            Pizza pizza = createPizza(type);

            pizza.bake();
            pizza.cut();
            pizza.box();
            return(pizza);
        }
        public Pizza Order(string type)
        {
            Pizza pizza = CreatePizza(type);

            pizza.Prepare();
            pizza.bake();
            pizza.cut();
            pizza.box();

            return(pizza);
        }