Esempio n. 1
0
 public PositionManagementService()
 {
     _context              = new AdminCenterDbContext();
     _positionUnitOfWork   = new PositionUnitOfWork(_context);
     _companyUnitOfWork    = new CompanyUnitOfWork(_context);
     _departmentUnitOfWork = new DepartmentUnitOfWork(_context);
 }
 public EmployeeManagementService()
 {
     _context                    = new AdminCenterDbContext();
     _employeeUnitOfWork         = new EmployeeUnitOfWork(_context);
     _companyUnitOfWork          = new CompanyUnitOfWork(_context);
     _departmentUnitOfWork       = new DepartmentUnitOfWork(_context);
     _positionUnitOfWork         = new PositionUnitOfWork(_context);
     _branchUnitOfWork           = new BranchUnitOfWork(_context);
     _educationHistoryUnitOfWork = new EducationHistoryUnitOfWork(_context);
     _careerHistoryUnitOfWork    = new CareerHistoryUnitOfWork(_context);
 }