public LeaveApplicationManagementService()
 {
     _context                    = new AdminCenterDbContext();
     _leaveTypeUnitOfWork        = new LeaveTypeUnitOfWork(_context);
     _leaveApplicationUnitOfWork = new LeaveApplicationUnitOfWork(_context);
     _employeeUnitOfWork         = new EmployeeUnitOfWork(_context);
 }
 public DepartmentManagementService()
 {
     _context = new AdminCenterDbContext();
     _departmentUnitOfWork = new DepartmentUnitOfWork(_context);
     _employeeUnitOfWork   = new EmployeeUnitOfWork(_context);
     _companyUnitOfWork    = new CompanyUnitOfWork(_context);
     _employeeUnitOfWork   = new EmployeeUnitOfWork(_context);
 }
Esempio n. 3
0
 public AttendanceLogManagementService()
 {
     _context = new AdminCenterDbContext();
     _attendanceLogUnitOfWork = new AttendanceLogUnitOfWork(_context);
     _employeeUnitOfWork      = new EmployeeUnitOfWork(_context);
     _attendanceUnitOfWork    = new AttendanceUnitOfWork(_context);
     _shiftUnitOfWork         = new ShiftUnitOfWork(_context);
     zkSdkClass = new CZKEUEMNetClass();
 }
 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);
 }