public WeatherData ConvertData(OpenWeatherData owd)
        {
            wd.City      = owd.Name;
            wd.Humidity  = owd.Main.Humidity;
            wd.Pressure  = owd.Main.Pressure;
            wd.Temp      = owd.Main.Temp;
            wd.WindSpeed = owd.Wind.Speed;

            return(wd);
        }
        public WeatherData GetCurrentWeather(string city)
        {
            provider = new OpenWeatherMapProvider.Provider(city);
            provider.CreateWebRequest();

            subscriber = new OpenWeatherMapProvider.Subscriber(provider);
            subscriber.StartSubscribe();



            OpenWeatherData weatherData = JsonConvert.DeserializeObject <OpenWeatherData>(subscriber.Response);

            OpenWeatherDataConverter converter = new OpenWeatherDataConverter();


            var currentWeather = converter.ConvertData(weatherData);

            currentWeather.Date = DateTime.Now;
            return(currentWeather);
        }