예제 #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);
        }
예제 #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));
        }
예제 #3
0
 public Facade()
 {
     tempService = new TempretureService();
 }
예제 #4
0
 public Facade()
 {
     tempService = new TempretureService();
 }