Ejemplo n.º 1
0
 public DatabaseController(
     DatabaseAPIServices.ForTravelTime databaseTravelTimeService,
     DatabaseAPIServices.ForParking databaseParkingService,
     DatabaseAPIServices.ForVidBroadcast databaseVideoService,
     DatabaseAPIServices.ForWeather databaseWeatherService
     )
 {
     traveltimeService = databaseTravelTimeService;
     parkingService    = databaseParkingService;
     videoService      = databaseVideoService;
     weatherService    = databaseWeatherService;
 }
Ejemplo n.º 2
0
 public PlaylistController(
     IWebHostEnvironment environment,
     DatabaseAPIServices.ForTravelTime databaseTravelTimeService,
     DatabaseAPIServices.ForParking databaseParkingService,
     DatabaseAPIServices.ForVidBroadcast databaseVideoService,
     DatabaseAPIServices.ForWeather databaseWeatherService,
     ColorlightServices colorlightServices,
     CreateVsnService createVsnService,
     SenaVMSContext context)
 {
     _hostingEnvironment = environment;
     traveltimeService   = databaseTravelTimeService;
     parkingService      = databaseParkingService;
     videoService        = databaseVideoService;
     weatherService      = databaseWeatherService;
     _colorlightServices = colorlightServices;
     _createVsnService   = createVsnService;
     _context            = context;
 }