Exemple #1
0
 public DataContext()
 {
     Customers       = new List <Customer>();
     Events          = new List <Event>();
     ProductsCatalog = new ProductsCatalog();
     ProductsState   = new ProductsState(ProductsCatalog);
 }
Exemple #2
0
 public ProductsState(ProductsCatalog products)
 {
     Products = products;
 }