private WebResponse GetResponse(string latitude, string longitude, WeatherData weatherData) { var webRequest = string.Format(WeatherRequest.Replace(CHANGEFROM, CHANGETO), latitude, longitude, weatherData.Unit == TemperatureUnit.Celcius ? "metric" : "imperial", AppId); return(WebRequest.Create(webRequest).GetResponse()); }