예제 #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;
 }
예제 #2
0
 private OrderCatalog(OrderFactory factory, string apiId) : base(factory, apiId)
 {
     _statusCatalog      = StatusCatalog.Instance;
     _paymentTypeCatalog = PaymentTypeCatalog.Instance;
     Load();
 }