public DefectService(IRentalRepository rentalRepository, IScooterRepository scooterRepository,
                      IDefectRepository defectRepository)
 {
     _rentalRepository  = rentalRepository;
     _scooterRepository = scooterRepository;
     _defectRepository  = defectRepository;
 }
 public RentalService(
     IScooterRepository scooterRepository,
     IRentalRepository rentalRepository)
 {
     _scooterRepository = scooterRepository;
     _rentalRepository  = rentalRepository;
 }
 public ScooterService(IScooterRepository scooterRepository)
 {
     _scooterRepository = scooterRepository;
 }
Example #4
0
 public ScooterService(IScooterRepository scooterRepository, IQueue queue)
 {
     this.scooterRepository = scooterRepository;
     this.queue             = queue;
 }
Example #5
0
 public ScooterService(IScooterRepository repository)
 {
     _repository = repository;
 }
Example #6
0
 public ScootersController(IScooterRepository scooterRepository, IDefectRepository defectRepository)
 {
     _scooterRepository = scooterRepository;
     _defectRepository  = defectRepository;
 }
 public ScooterController(IScooterRepository scooterRepository)
 {
     _scooterRepository = scooterRepository;
 }
 public StatsService(IScooterRepository scooterRepository, IUserRepository userRepository, IRentalRepository rentalRepository)
 {
     _scooterRepository = scooterRepository;
     _userRepository    = userRepository;
     _rentalRepository  = rentalRepository;
 }