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

            return(Json(data, JsonRequestBehavior.AllowGet));
        }
Exemplo n.º 2
0
        // GET: Dashboard/DashboardDepartment
        public string DashboardDepartment(CompanyObj obj)
        {
            _aDashboardHandler = new DashboardHandler();
            var data = _aDashboardHandler.GetMpDepartments(obj.CompanyCode, obj.DivisionCode, obj.UnitCode, obj.EmployeeType);

            return(JsonConvert.SerializeObject(data));
        }