Ejemplo n.º 1
0
        public Bowl Cook(Vegetable vegetable)
        {
            Bowl bowl = GetBowl();

            bowl.Add(vegetable);

            return(bowl);
        }
Ejemplo n.º 2
0
        public Bowl Cook()
        {
            Potato potato = GetPotato();

            Peel(potato);
            Cut(potato);

            Carrot carrot = GetCarrot();

            Peel(carrot);
            Cut(carrot);

            Bowl bowl = GetBowl();

            bowl.Add(carrot);
            bowl.Add(potato);

            return(bowl);
        }