public WindForecastService(IWeatherForecastService weatherForecastService, ILocationService locationService, IWindSpeedConverterService windSpeedConverterService) { this.weatherForecastService = weatherForecastService; this.windSpeedConverterService = windSpeedConverterService; this.locationService = locationService; }
public WindForecastService(IWeatherForecastService weatherForecastService, ILocationService locationService, IWindSpeedConverterService windSpeedConverterService) { this.weatherForecastService = weatherForecastService; this.locationService = locationService; this.windSpeedConverterService = windSpeedConverterService; LocationServiceApiKey = Environment.GetEnvironmentVariable("BINGMAPS_APIKEY"); WeatherForecastServiceApiKey = Environment.GetEnvironmentVariable("OPENWEATHER_APIKEY"); }