public JsonResult GetLineChartForGenrateEnregyService(string plantDate) { List <ENT.DashboardCardsNew> lstResult = new List <ENT.DashboardCardsNew>(); objDashboard = new Josheph.Framework.BusinessLayer.DeviceDataBAL(); DateTime dttm = DateTime.ParseExact(plantDate, "dd/MM/yyyy", CultureInfo.InvariantCulture); lstResult = objDashboard.GetDailyEnergyService(dttm, dttm); return(Json(lstResult, JsonRequestBehavior.AllowGet)); }