Exemplo n.º 1
0
        public bool CreateNewSeasonalProduct(SeasonalProduct newSeasonalProduct)
        {
            SeasonProductCatalog seasonalProductList = new SeasonProductCatalog();

            newSeasonalProduct.ProductID = seasonalProductList.NewSeasonalProductID();

            return(seasonalProductList.AddNewSeasonalProduct(newSeasonalProduct));
        }
Exemplo n.º 2
0
        public void LoadList()
        {
            TransactionsList     transactionsList       = new TransactionsList(this);
            UsersList            usersList              = new UsersList();
            ProductCatalog       productCatalog         = new ProductCatalog();
            SeasonProductCatalog seasonalProductCatalog = new SeasonProductCatalog();

            UserList            = usersList.GetList();
            ProductList         = productCatalog.GetList();
            SeasonalProductList = seasonalProductCatalog.GetList();
            BTransactionList    = transactionsList.GetBuyList();
            CTransactionList    = transactionsList.GetCashList();
        }