public ActionResult GetTemperatureChartData(int?townId) { var model = new ChartModel(); model.TemperaturesModel = model.GetTemperatureChartData(townId); return(Json(model.TemperaturesModel, JsonRequestBehavior.AllowGet)); }
public ActionResult GetTemperatureChartData(int?townId) { var model = new ChartModel(); model.TemperaturesModel = model.GetTemperatureChartData(townId); return(Json(model.TemperaturesModel, JsonRequestBehavior.AllowGet)); }