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