예제 #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();
 }
예제 #3
0
 public PassengerCrudFactory()
 {
     mapper = new PassengerMapper();
     dao    = SqlDao.GetInstance();
 }