Ejemplo n.º 1
0
 public Startup()
 {
     CustomerCatalog       customerCatalog       = CustomerCatalog.Instance;
     OrderCatalog          orderCatalog          = OrderCatalog.Instance;
     ProductCatalog        productCatalog        = ProductCatalog.Instance;
     CategoryCatalog       categoryCatalog       = CategoryCatalog.Instance;
     OrderedProductCatalog orderedProductCatalog = OrderedProductCatalog.Instance;
     PaymentTypeCatalog    paymentType           = PaymentTypeCatalog.Instance;
     StatusCatalog         statusCatalog         = StatusCatalog.Instance;
 }
Ejemplo n.º 2
0
 private ProductCatalog(ProductFactory factory, string apiId) : base(factory, apiId)
 {
     _categoryCatalog = CategoryCatalog.Instance;
     Load();
 }