Exemplo n.º 1
0
 public PassengerService(ICarRentalUnitOfWork unitOfWork,
                         PassengerMapper passengerMapper,
                         IDomainEventPublisher domainEventPublisher)
 {
     this._unitOfWork           = unitOfWork;
     this._passengerMapper      = passengerMapper;
     this._domainEventPublisher = domainEventPublisher;
 }
 public PassengerService(IUnitOfWork uof)
 {
     _uof             = uof;
     _passengerMapper = new PassengerMapper();
 }
Exemplo n.º 3
0
 public PassengerCrudFactory()
 {
     mapper = new PassengerMapper();
     dao    = SqlDao.GetInstance();
 }