Exemplo n.º 1
0
        public string GetTempreture(string zipCode)
        {
            var tempService = new TempretureService();

            var city = tempService.GetCityByZip(zipCode);
            var state = tempService.GetStateByCity(city);
            var temp = tempService.GetTempretureByCity(city);

            return string.Format("curren ttempreture is {0} in {1} , {2}",temp,city,state);
        }
Exemplo n.º 2
0
        public string GetTempreture(string zipCode)
        {
            var tempService = new TempretureService();

            var city  = tempService.GetCityByZip(zipCode);
            var state = tempService.GetStateByCity(city);
            var temp  = tempService.GetTempretureByCity(city);

            return(string.Format("curren ttempreture is {0} in {1} , {2}", temp, city, state));
        }
Exemplo n.º 3
0
 public Facade()
 {
     tempService = new TempretureService();
 }
Exemplo n.º 4
0
 public Facade()
 {
     tempService = new TempretureService();
 }