public WeatherController(WeatherMvcDbContext context, ILocationService location, IWeatherService weatherService)
 {
     _context        = context;
     _location       = location;
     _weatherService = weatherService;
 }
Esempio n. 2
0
 public WeatherService(WeatherMvcDbContext context)
 {
     _context = context;
 }
 public LocationService(WeatherMvcDbContext context)
 {
     _context = context;
 }
 public weatherReportsController(WeatherMvcDbContext context, IWeatherService weatherService)
 {
     _context        = context;
     _weatherService = weatherService;
 }