public WeatherDataController(IEnumerable <IWeatherData> weatherDataServices, IWeatherInputParser inputParser, MvcWeatherContext context, ISmhiApiServices smhiApiServices) { _weatherDataServices = weatherDataServices; _inputParser = inputParser; _context = context; _weatherData = _inputParser.ParseWeatherInput(); _smhiApiServices = smhiApiServices; }
public WeatherDataController(IEnumerable <IWeather> weatherServices, IWeatherInputParser inputParser) { _inputParser = inputParser; _weatherServices = weatherServices; _weatherData = _inputParser.ParseWeatherInput(); }