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