public string GetLineKpiJonData(BusinessInfo aInfo) { _aBusinessplanHandler = new BusinessplanHandler(); var dataSet = _aBusinessplanHandler.GetLineKpiDataList(aInfo); return(JsonConvert.SerializeObject(dataSet)); }
/////////// Business Plan Line KPI /////////// public JsonResult DashboardJsonData() { Businessplan data = null; try { if (true) { _aBusinessplanHandler = new BusinessplanHandler(); data = _aBusinessplanHandler.GetBusinessplanData(); return(Json(data, JsonRequestBehavior.AllowGet)); } } catch (Exception ex) { return(Json(data, JsonRequestBehavior.AllowGet)); } }
public JsonResult DashboardBpCapacityJson(BusinessInfo aBusinessInfo) { List <BusinessplanModel> data = null; try { if (aBusinessInfo == null) { return(Json(null, JsonRequestBehavior.AllowGet)); } var aBusinessplanHandler = new BusinessplanHandler(); data = aBusinessplanHandler.GetBpCapacityData(aBusinessInfo); return(Json(data, JsonRequestBehavior.AllowGet)); } catch (Exception ex) { return(Json(data, JsonRequestBehavior.AllowGet)); } }
// GET: Configuration/BusinessPlanJsonData public JsonResult DashboardFindByCompanyJsonData(BusinessInfo aBusinessInfo) { List <BusinessplanModel> data = null; try { if (aBusinessInfo == null) { return(Json(null, JsonRequestBehavior.AllowGet)); } _aBusinessplanHandler = new BusinessplanHandler(); data = _aBusinessplanHandler.GetDashboardFindByCompanyData(aBusinessInfo); return(Json(data, JsonRequestBehavior.AllowGet)); } catch (Exception ex) { return(Json(data, JsonRequestBehavior.AllowGet)); } }