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