Exemplo n.º 1
0
        public void AddNewProductSales()
        {
            var restaurant = new Restaurant();

            restaurant.AddAllIngredients(GenerateDataIngredients());
            // product direct sale
            var detailDirect = new ProductDetail(id: 1, nameProduct: "Gaseosa Litro", cost: 2000m, quantity: 20, price: 5000m);
            var productDirec = new DirectSale(detailDirect);
            // products prepared
            var detailP1 = new ProductDetail(id: 7, nameProduct: "perro sencillo", cost: 1000m);
        }