public PositionModel() { _positionManagementService = new PositionManagementService(); _departmentManagementService = new DepartmentManagementService(); _companyManagementService = new CompanyManagementService(); Companies = GetAllCompanies(); ReportingPositions = GetAllPositions(); Departments = GetAllDepartments(); }
public EmployeeModel() { _employeeManagementService = new EmployeeManagementService(); Employees = GetAllEmployee(); _branchManagementService = new BranchManagementService(); Branches = GetAllBranch(); _companyManagementService = new CompanyManagementService(); Companies = GetAllCompanies(); _departmentManagementService = new DepartmentManagementService(); Departments = GetAllDepartment(); _positionManagementService = new PositionManagementService(); Positions = GetAllPosition(); _roleManagementService = new RoleManagementService(); Roles = GetAllRole(); }