Example #1
0
        public string GetLineKpiJonData(BusinessInfo aInfo)
        {
            _aBusinessplanHandler = new BusinessplanHandler();
            var dataSet = _aBusinessplanHandler.GetLineKpiDataList(aInfo);

            return(JsonConvert.SerializeObject(dataSet));
        }
Example #2
0
        /////////// 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));
            }
        }
Example #3
0
        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));
            }
        }
Example #4
0
        // 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));
            }
        }