예제 #1
0
        public JsonResult Getweatcher(string city)
        {
            var date = WeatherHelper.GetWeatcherByCityName(city);
            var json = Json(date);

            return(json);
        }
예제 #2
0
        public ActionResult Index()
        {
            var date = WeatherHelper.GetWeatcherByCityName("柳州");

            return(View(date));
        }