public JsonResult DrawChartBar() { string empid = Session["LoginId"].ToString(); var list = new List <BarChartViewModel>(); list = _orderProvider.InitBarChart(empid); return(Json(list, JsonRequestBehavior.AllowGet)); }