public ModelFacade() { dataAccessFacade = new DataAccessFacade(); customerController = new CustomerController(dataAccessFacade.GetCustomers()); saleController = new SaleController(dataAccessFacade.GetSales()); paymentRuleCatalogController = new PaymentRuleCatalogController(dataAccessFacade.GetPaymentRuleCatalogs()); paymentContractController = new PaymentContractController(dataAccessFacade.GetPaymentContracts()); paymentRuleController = new PaymentRuleController(dataAccessFacade.GetPaymentRules()); bookingController = new BookingController(dataAccessFacade.GetBookings()); supplierController = new SupplierController(dataAccessFacade.GetSuppliers()); }
public DataAccessFacade() { customerController = new CustomerController(); saleController = new SaleController(); paymentRuleCatalogController = new PaymentRuleCatalogController(); paymentContractController = new PaymentContractController(); paymentRuleController = new PaymentRuleController(); bookingController = new BookingController(); paymentController = new PaymentController(); supplierController = new SupplierController(); }