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