Пример #1
0
 public PositionModel()
 {
     _positionManagementService   = new PositionManagementService();
     _departmentManagementService = new DepartmentManagementService();
     _companyManagementService    = new CompanyManagementService();
     Companies          = GetAllCompanies();
     ReportingPositions = GetAllPositions();
     Departments        = GetAllDepartments();
 }
Пример #2
0
 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();
 }