public WeatherController(IWeatherAppService service) { _service = service; }
public WeatherReportController() { WeatherAppService = new WeatherAppService(); }
public SampleDataController(IWeatherAppService weatherAppService) { _weatherAppService = weatherAppService; }
public WeatherController(IWeatherAppService weatherAppService) { _weatherAppService = weatherAppService ?? throw new ArgumentNullException(nameof(weatherAppService)); }
public WeatherAppController(IWeatherAppService weatherAppService) { _weatherAppService = weatherAppService; }
public HomeController(IWeatherAppService service) { this._service = service; }