public RentalAreaService(RentalAreaFactory rentalAreaFactory, ICarRentalUnitOfWork unitOfWork,
                          RentalAreaMapper rentalAreaMapper)
 {
     _rentalAreaFactory = rentalAreaFactory;
     _unitOfWork        = unitOfWork;
     _rentalAreaMapper  = rentalAreaMapper;
 }
Exemple #2
0
 public CarService(CarFactory carFactory,
                   ICarRentalUnitOfWork unitOfWork, CarMapper carMapper)
 {
     _carMapper  = carMapper;
     _unitOfWork = unitOfWork;
     _carFactory = carFactory;
 }
Exemple #3
0
 public RentalService(RentalFactory rentalFactory, ICarRentalUnitOfWork unitOfWork, RentalMapper rentalMapper,
                      PositionService positionService)
 {
     _rentalFactory   = rentalFactory;
     _unitOfWork      = unitOfWork;
     _rentalMapper    = rentalMapper;
     _positionService = positionService;
 }
Exemple #4
0
 public PassengerService(ICarRentalUnitOfWork unitOfWork,
                         PassengerMapper passengerMapper,
                         IDomainEventPublisher domainEventPublisher)
 {
     this._unitOfWork           = unitOfWork;
     this._passengerMapper      = passengerMapper;
     this._domainEventPublisher = domainEventPublisher;
 }
 public DriverService(ICarRentalUnitOfWork unitOfWork,
                      DriverMapper driverMapper,
                      IDomainEventPublisher domainEventPublisher)
 {
     this._unitOfWork           = unitOfWork;
     this._driverMapper         = driverMapper;
     this._domainEventPublisher = domainEventPublisher;
 }
 public ScooterService(ICarRentalUnitOfWork unitOfWork,
                       ScooterMapper scooterMapper,
                       IDomainEventPublisher domainEventPublisher)
 {
     this._unitOfWork           = unitOfWork;
     this._scooterMapper        = scooterMapper;
     this._domainEventPublisher = domainEventPublisher;
 }
Exemple #7
0
        public PositionService(ICarRentalUnitOfWork unitOfWork,

                               IDomainEventPublisher domainEventPublisher)
        {
            this._unitOfWork = unitOfWork;

            this._domainEventPublisher = domainEventPublisher;
        }
Exemple #8
0
 public CarService(ICarRentalUnitOfWork unitOfWork,
                   CarMapper carMapper,
                   IDomainEventPublisher domainEventPublisher)
 {
     this._unitOfWork           = unitOfWork;
     this._carMapper            = carMapper;
     this._domainEventPublisher = domainEventPublisher;
 }
Exemple #9
0
 public RentalService(ICarRentalUnitOfWork unitOfWork,
                      RentalFactory rentalFactory,
                      RentalMapper rentalMapper,
                      FreeMinutesFactory freeMinutesFactory,
                      IDomainEventPublisher domainEventPublisher)
 {
     this._unitOfWork           = unitOfWork;
     this._rentalMapper         = rentalMapper;
     this._rentalFactory        = rentalFactory;
     this._freeMinutesFactory   = freeMinutesFactory;
     this._domainEventPublisher = domainEventPublisher;
 }
Exemple #10
0
 public RentalService(ICarRentalUnitOfWork unitOfWork,
                      RentalFactory rentalFactory,
                      RentalMapper rentalMapper,
                      FreeMinutespolicyFactory freeMinutespolicyFactory,
                      PositionService positionService,
                      HandlePassengerService handlePassengerService,
                      IDomainEventPublisher domainEventPublisher)
 {
     this._unitOfWork               = unitOfWork;
     this._rentalFactory            = rentalFactory;
     this._rentalMapper             = rentalMapper;
     this._freeMinutespolicyFactory = freeMinutespolicyFactory;
     this._positionService          = positionService;
     this._handlePassengerService   = handlePassengerService;
     this._domainEventPublisher     = domainEventPublisher;
 }
Exemple #11
0
 public PositionService(ICarRentalUnitOfWork unitOfWork)
 {
     _unitOfWork = unitOfWork;
 }
 public CommandHandlerBase(ICarRentalUnitOfWork unitOfWork, IMapper mapper)
 {
     _unitOfWork = unitOfWork;
     _mapper     = mapper;
 }
 public GetDriverByIdQueryHandler(ICarRentalUnitOfWork unitOfWork, IMapper mapper) : base(unitOfWork, mapper)
 {
 }
 public StopRentingCarCommandHandler(ICarRentalUnitOfWork unitOfWork, IMapper mapper) : base(unitOfWork, mapper)
 {
 }
 public DeleteCarCommandHandler(ICarRentalUnitOfWork unitOfWork, IMapper mapper) : base(unitOfWork, mapper)
 {
 }
 public GetAllRentalsQueryHandler(ICarRentalUnitOfWork unitOfWork, IMapper mapper) : base(unitOfWork, mapper)
 {
 }
 public CreateRentCommandHandler(ICarRentalUnitOfWork unitOfWork, IMapper mapper) : base(unitOfWork, mapper)
 {
 }
Exemple #18
0
 public DriverService(DriverFactory driverFactory, ICarRentalUnitOfWork unitOfWork, DriverMapper driverMapper)
 {
     _driverFactory = driverFactory;
     _unitOfWork    = unitOfWork;
     _driverMapper  = driverMapper;
 }
 public StubPositionService(ICarRentalUnitOfWork unitOfWork, Position carPosition) : base(unitOfWork)
 {
     CarPosition = carPosition;
     _unitOfWork = unitOfWork;
 }
 protected QueryHandlerBase(ICarRentalUnitOfWork unitOfWork, IMapper mapper)
 {
     _unitOfWork = unitOfWork ?? throw new ArgumentNullException(nameof(unitOfWork));
     _mapper     = mapper ?? throw new ArgumentNullException(nameof(mapper));
 }