Example #1
0
 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);
 }
Example #2
0
 public PhoneModule()
 {
     unitOfWork  = new UnitOfWork();
     Phone       = new FluentPhone(unitOfWork);
     AddressBook = new FluentAddressBook(unitOfWork);
 }