public bool CreateNewSeasonalProduct(SeasonalProduct newSeasonalProduct) { SeasonProductCatalog seasonalProductList = new SeasonProductCatalog(); newSeasonalProduct.ProductID = seasonalProductList.NewSeasonalProductID(); return(seasonalProductList.AddNewSeasonalProduct(newSeasonalProduct)); }
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(); }