public List <Employee> GetHrAllocatedEmpList(CompanyObj obj)
        {
            _aDashboardHr = new DashboardHr();
            var data = _aDashboardHr.GetHrAllocatedEmpListFromDb(obj.CompanyId, obj.UnitId, obj.DepartmentId, obj.SectionId, obj.SubSectionId);

            return(AllocatedEmpListGenerate(data));
        }
        public List <Employee> GetHrUnallocatedEmpList(string companyCode)
        {
            _aDashboardHr = new DashboardHr();
            var data = _aDashboardHr.GetHrUnallocatedEmpListFromDb(companyCode);

            return(UnallocatedEmpListGenerate(data));
        }
        public List <Department> GetHrDepartments(string companyCode, string unitCode, string empType)
        {
            _aDashboardHr = new DashboardHr();
            var data = _aDashboardHr.GetHrDepartmentsFromDb(companyCode, unitCode, empType);

            return(GenerateDepartmentList(data));
        }
        public List <SubSection> GetHrSubSections(string companyCode, string unitCode)
        {
            _aDashboardHr = new DashboardHr();
            var data = _aDashboardHr.GetHrSubSectionsFromDb(companyCode, unitCode);

            return(ListGenerateSubSection(data));
        }
 public DashboardHandler()
 {
     _aDashboardHr = new DashboardHr();
 }