Пример #1
0
 public WeatherMapService(int zip, string countryCode)
 {
     WeatherResponse = CallManager.GetResponseByZip(zip, countryCode);
     DTO.DeserializeRates(WeatherResponse);
 }
Пример #2
0
 public WeatherMapService(float latitude, float longitude)
 {
     WeatherResponse = CallManager.GetResponseByLatAndLong(latitude, longitude);
     DTO.DeserializeRates(WeatherResponse);
 }
Пример #3
0
 public WeatherMapService(string name)
 {
     WeatherResponse = CallManager.GetResponseByCityName(name);
     DTO.DeserializeRates(WeatherResponse);
 }
Пример #4
0
 public WeatherMapService(string name, string stateCode, string countryCode)
 {
     WeatherResponse = CallManager.GetResponseByCityNameStateCountry(name, stateCode, countryCode);
     DTO.DeserializeRates(WeatherResponse);
 }
Пример #5
0
 public WeatherMapService(int id)
 {
     WeatherResponse = CallManager.GetResponseByCityID(id);
     DTO.DeserializeRates(WeatherResponse);
 }