public RentalService(ICarRentalUoW uoW, RentalMapper rentalMapper, IDomainEventPublisher domainEventPublisher, RentalFactory rentalFactory, FreeMinutesPolicy policyFactory)
 {
     _uoW                  = uoW;
     _rentalMapper         = rentalMapper;
     _domainEventPublisher = domainEventPublisher;
     _rentalFactory        = rentalFactory;
     _policyFactory        = policyFactory;
 }
 public DriverService(ICarRentalUoW uoW, DriverMapper driverMapper, IDomainEventPublisher domainEventPublisher)
 {
     _uoW                  = uoW;
     _driverMapper         = driverMapper;
     _domainEventPublisher = domainEventPublisher;
 }
 public OfficeService(ICarRentalUoW uoW, OfficeMapper officeMapper, IDomainEventPublisher domainEventPublisher)
 {
     _uoW                  = uoW;
     _officeMapper         = officeMapper;
     _domainEventPublisher = domainEventPublisher;
 }
Beispiel #4
0
 public CarService(ICarRentalUoW uoW, CarMapper carMapper, IDomainEventPublisher domainEventPublisher)
 {
     _uoW                  = uoW;
     _carMapper            = carMapper;
     _domainEventPublisher = domainEventPublisher;
 }
 public PositionService(IDomainEventPublisher domainEventPublisher, ICarRentalUoW uoW)
 {
     _domainEventPublisher = domainEventPublisher;
     _uoW = uoW;
 }
Beispiel #6
0
 public PhoneNumberService(IDomainEventPublisher domainEventPublisher, ICarRentalUoW uoW)
 {
     _domainEventPublisher = domainEventPublisher;
     _uoW = uoW;
 }
Beispiel #7
0
 public StopRentalService(ICarRentalUoW uoW, IDomainEventPublisher domainEventPublisher)
 {
     _uoW = uoW;
     _domainEventPublisher = domainEventPublisher;
     _positionService      = new PositionService(domainEventPublisher, uoW);
 }
 public AddressService(IDomainEventPublisher domainEventPublisher, ICarRentalUoW uoW)
 {
     _domainEventPublisher = domainEventPublisher;
     _uoW = uoW;
 }