示例#1
0
        public ActionResult GetTemperatureChartData(int?townId)
        {
            var model = new ChartModel();

            model.TemperaturesModel = model.GetTemperatureChartData(townId);

            return(Json(model.TemperaturesModel, JsonRequestBehavior.AllowGet));
        }