Example #1
0
        internal override Plato PrepararPlato()
        {
            var plato = new Plato();

            plato.AgregarIngrediente(new Ingrediente {
                Nombre = "Carne", Costo = 15
            });
            plato.AgregarIngrediente(new Ingrediente {
                Nombre = "Papa", Costo = 9
            });
            plato.AgregarIngrediente(new Ingrediente {
                Nombre = "Papa", Costo = 9
            });
            plato.AgregarIngrediente(new Ingrediente {
                Nombre = "Cebolla", Costo = 6
            });

            return(plato);
        }