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 PhoneModule() { unitOfWork = new UnitOfWork(); Phone = new FluentPhone(unitOfWork); AddressBook = new FluentAddressBook(unitOfWork); }