Beispiel #1
0
 public HolidayManagementService()
 {
     _context           = new AdminCenterDbContext();
     _holidayUnitOfWork = new HolidayUnitOfWork(_context);
     _branchUnitOfWork  = new BranchUnitOfWork(_context);
     _companyUnitOfWork = new CompanyUnitOfWork(_context);
 }
 public ShiftManagementService()
 {
     _context             = new AdminCenterDbContext();
     _shifthUnitOfWork    = new ShiftUnitOfWork(_context);
     _branchUnitOfWork    = new BranchUnitOfWork(_context);
     _companyUnitOfWork   = new CompanyUnitOfWork(_context);
     _timeTableUnitOfWork = new TimeTableUnitOfWork(_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);
 }