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

            plato.AgregarIngrediente(new Ingrediente {
                Nombre = "Azucar", Costo = 3
            });
            plato.AgregarIngrediente(new Ingrediente {
                Nombre = "Azucar", Costo = 3
            });
            plato.AgregarIngrediente(new Ingrediente {
                Nombre = "Azucar", Costo = 3
            });
            plato.AgregarIngrediente(new Ingrediente {
                Nombre = "Harina", Costo = 4
            });
            plato.AgregarIngrediente(new Ingrediente {
                Nombre = "Harina", Costo = 4
            });
            plato.AgregarIngrediente(new Ingrediente {
                Nombre = "Harina", Costo = 4
            });
            plato.AgregarIngrediente(new Ingrediente {
                Nombre = "Huevo", Costo = 3
            });
            plato.AgregarIngrediente(new Ingrediente {
                Nombre = "Huevo", Costo = 3
            });
            return(plato);
        }
Beispiel #2
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);
        }