public SampleDataController(IWheatherForecastService wheatherForecastService) { _wheatherForecastService = wheatherForecastService; }
public WeatherForecastController(ILogger <WeatherForecastController> logger, IWheatherForecastService wheatherForecastService) { _logger = logger; _wheatherForecastService = wheatherForecastService; }