コード例 #1
0
ファイル: HomeController.cs プロジェクト: 2558525764/VSo
        public JsonResult Getweatcher(string city)
        {
            var date = WeatherHelper.GetWeatcherByCityName(city);
            var json = Json(date);

            return(json);
        }
コード例 #2
0
ファイル: HomeController.cs プロジェクト: 2558525764/VSo
        public ActionResult Index()
        {
            var date = WeatherHelper.GetWeatcherByCityName("柳州");

            return(View(date));
        }