Example #1
0
 public RentalService(ICarRentalUoW uoW, RentalMapper rentalMapper, IDomainEventPublisher domainEventPublisher, RentalFactory rentalFactory, FreeMinutesPolicy policyFactory)
 {
     _uoW                  = uoW;
     _rentalMapper         = rentalMapper;
     _domainEventPublisher = domainEventPublisher;
     _rentalFactory        = rentalFactory;
     _policyFactory        = policyFactory;
 }
Example #2
0
 public DriverService(ICarRentalUoW uoW, DriverMapper driverMapper, IDomainEventPublisher domainEventPublisher)
 {
     _uoW                  = uoW;
     _driverMapper         = driverMapper;
     _domainEventPublisher = domainEventPublisher;
 }
Example #3
0
 public OfficeService(ICarRentalUoW uoW, OfficeMapper officeMapper, IDomainEventPublisher domainEventPublisher)
 {
     _uoW                  = uoW;
     _officeMapper         = officeMapper;
     _domainEventPublisher = domainEventPublisher;
 }
Example #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;
 }
Example #6
0
 public PhoneNumberService(IDomainEventPublisher domainEventPublisher, ICarRentalUoW uoW)
 {
     _domainEventPublisher = domainEventPublisher;
     _uoW = uoW;
 }
Example #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;
 }