// GET: Configuration/DashboardHrfSectionJson
        public JsonResult DashboardHrfSectionJson(CompanyObj obj)
        {
            _aDashboardHandler = new DashboardHandler();
            var data = _aDashboardHandler.GetMpSections(obj.CompanyCode, obj.DivisionCode, obj.UnitCode, obj.EmployeeType);

            return(Json(data, JsonRequestBehavior.AllowGet));
        }
示例#2
0
        public string DashboardSection(CompanyObj obj)
        {
            _aDashboardHandler = new DashboardHandler();
            var data = _aDashboardHandler.GetMpSections(obj.CompanyCode, obj.DivisionCode, obj.UnitCode, obj.EmployeeType);

            return(JsonConvert.SerializeObject(data));
        }