Exemplo n.º 1
0
        public JsonResult GetChartData()
        {
            List <Object> barData     = m_user.GetBarData();
            List <Object> publishData = m_house.GetPublishData();
            string        barStr      = Newtonsoft.Json.JsonConvert.SerializeObject(barData);
            string        publishStr  = Newtonsoft.Json.JsonConvert.SerializeObject(publishData);

            return(Json(new { barData = barData, publishData = publishData }, JsonRequestBehavior.AllowGet));
        }