public AddressBookModule() { unitOfWork = new UnitOfWork(); AddressBook = new FluentAddressBook(unitOfWork); Employee = new FluentEmployee(unitOfWork); Supervisor = new FluentSupervisor(unitOfWork); Carrier = new FluentCarrier(unitOfWork); Buyer = new FluentBuyer(unitOfWork); Supplier = new FluentSupplier(unitOfWork); Phone = new FluentPhone(unitOfWork); Email = new FluentEmail(unitOfWork); }
public SalesOrderDetailModule() { unitOfWork = new UnitOfWork(); SalesOrderDetail = new FluentSalesOrderDetail(unitOfWork); SalesOrder = new FluentSalesOrder(unitOfWork); ItemMaster = new FluentItemMaster(unitOfWork); ChartOfAccount = new FluentChartOfAccount(unitOfWork); Carrier = new FluentCarrier(unitOfWork); Udc = new FluentUdc(unitOfWork); purchaseOrder = new FluentPurchaseOrder(unitOfWork); purchaseOrderDetail = new FluentPurchaseOrderDetail(unitOfWork); }