public ActionResult AllOrderDate(int?year) { DashboardService service = new DashboardService(); return(Json(service.AllOrderDate(year), JsonRequestBehavior.AllowGet)); }