Esempio 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;
 }
 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;
 }