Exemple #1
0
 public ParkingsController(
     ITownsService townsService,
     IParkingsService parkingsService,
     IParkingSlotsService parkingSlotsService)
 {
     this.parkingSlotsService = parkingSlotsService;
     this.parkingsService     = parkingsService;
     this.townsService        = townsService;
 }
Exemple #2
0
 public CarsController(
     ICarsService carsService,
     IParkingsService parkingsService,
     ICloudinaryService cloudinaryService)
 {
     this.carsService       = carsService;
     this.parkingsService   = parkingsService;
     this.cloudinaryService = cloudinaryService;
 }
 public TownsController(
     ITownsService townsService,
     ICountriesService countriesService,
     IParkingsService parkingsService,
     IParkingSlotsService parkingSlotsService)
 {
     this.townsService        = townsService;
     this.countriesService    = countriesService;
     this.parkingsService     = parkingsService;
     this.parkingSlotsService = parkingSlotsService;
 }
 public CarsController(
     ICarsService carsService,
     IParkingsService parkingsService,
     ITownsService townsService,
     ICountriesService countriesService)
 {
     this.carsService      = carsService;
     this.parkingsService  = parkingsService;
     this.townsService     = townsService;
     this.countriesService = countriesService;
 }
 public CarsService(
     IDeletableEntityRepository <Car> carsRepository,
     IDeletableEntityRepository <Trip> tripsRepository,
     IDeletableEntityRepository <Reservation> reservationsRepository,
     IParkingsService parkingsService)
     : base(carsRepository)
 {
     this.carRepository          = carsRepository;
     this.tripsRepository        = tripsRepository;
     this.reservationsRepository = reservationsRepository;
     this.parkingsService        = parkingsService;
 }
 public DashboardController(
     IParkingsService parkingsService,
     ICountriesService countriesService,
     ITownsService townsService,
     IDriversService driversService,
     ICarsService carsService,
     IUsersService usersService)
 {
     this.parkingsService  = parkingsService;
     this.countriesService = countriesService;
     this.townsService     = townsService;
     this.driversService   = driversService;
     this.carsService      = carsService;
     this.usersService     = usersService;
 }