示例#1
0
 public PositionManagementService()
 {
     _context              = new AdminCenterDbContext();
     _positionUnitOfWork   = new PositionUnitOfWork(_context);
     _companyUnitOfWork    = new CompanyUnitOfWork(_context);
     _departmentUnitOfWork = new DepartmentUnitOfWork(_context);
 }
示例#2
0
 public HolidayManagementService()
 {
     _context           = new AdminCenterDbContext();
     _holidayUnitOfWork = new HolidayUnitOfWork(_context);
     _branchUnitOfWork  = new BranchUnitOfWork(_context);
     _companyUnitOfWork = new CompanyUnitOfWork(_context);
 }
 public LeaveApplicationManagementService()
 {
     _context                    = new AdminCenterDbContext();
     _leaveTypeUnitOfWork        = new LeaveTypeUnitOfWork(_context);
     _leaveApplicationUnitOfWork = new LeaveApplicationUnitOfWork(_context);
     _employeeUnitOfWork         = new EmployeeUnitOfWork(_context);
 }
 public ShiftManagementService()
 {
     _context             = new AdminCenterDbContext();
     _shifthUnitOfWork    = new ShiftUnitOfWork(_context);
     _branchUnitOfWork    = new BranchUnitOfWork(_context);
     _companyUnitOfWork   = new CompanyUnitOfWork(_context);
     _timeTableUnitOfWork = new TimeTableUnitOfWork(_context);
 }
 public DepartmentManagementService()
 {
     _context = new AdminCenterDbContext();
     _departmentUnitOfWork = new DepartmentUnitOfWork(_context);
     _employeeUnitOfWork   = new EmployeeUnitOfWork(_context);
     _companyUnitOfWork    = new CompanyUnitOfWork(_context);
     _employeeUnitOfWork   = new EmployeeUnitOfWork(_context);
 }
示例#6
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);
 }
示例#8
0
 public ShiftUnitOfWork(AdminCenterDbContext context)
 {
     _context         = context;
     _shiftRepository = new ShiftRepository(_context);
 }
示例#9
0
 public LeaveTypeUnitOfWork(AdminCenterDbContext context)
 {
     _context             = context;
     _leaveTypeRepository = new LeaveTypeRepository(_context);
 }
示例#10
0
 public CalendarUnitOfWork(AdminCenterDbContext context)
 {
     _context            = context;
     _calendarRepository = new CalendarRepository(_context);
 }
示例#11
0
 public CareerHistoryRepository(AdminCenterDbContext context)
     : base(context)
 {
     _context = context;
 }
示例#12
0
 public AttendanceUnitOfWork(AdminCenterDbContext context)
 {
     _context = context;
     _attendanceRepository = new AttendanceRepository(_context);
 }
示例#13
0
 public LeaveApplicationRepository(AdminCenterDbContext context)
     : base(context)
 {
     _context = context;
 }
示例#14
0
 public LeaveTypeRepository(AdminCenterDbContext context) : base(context)
 {
     _context = context;
 }
示例#15
0
 public DepartmentUnitOfWork(AdminCenterDbContext context)
 {
     _context = context;
     _departmentRepository = new DepartmentRepository(_context);
 }
 public RoleManagementService()
 {
     _context        = new AdminCenterDbContext();
     _roleUnitOfWork = new RoleUnitOfWork(_context);
 }
示例#17
0
 public LeaveTypeManagementService()
 {
     _context             = new AdminCenterDbContext();
     _leaveTypeUnitOfWork = new LeaveTypeUnitOfWork(_context);
 }
示例#18
0
 public PositionUnitOfWork(AdminCenterDbContext context)
 {
     _context = context;
     _positionRepository = new PositionRepository(_context);
 }
 public AttendanceManagementService()
 {
     _context = new AdminCenterDbContext();
     _attendanceUnitOfWork = new AttendanceUnitOfWork(_context);
 }
示例#20
0
 public TimeTableUnitOfWork(AdminCenterDbContext context)
 {
     _context             = context;
     _timeTableRepository = new TimeTableRepository(_context);
 }
示例#21
0
 public RoleTaskRepository(AdminCenterDbContext context)
     : base(context)
 {
     _context = context;
 }
示例#22
0
 public HolidayRepository(AdminCenterDbContext context)
     : base(context)
 {
     _context = context;
 }
示例#23
0
 public PositionRepository(AdminCenterDbContext context)
     : base(context)
 {
     _context = context;
 }
示例#24
0
 public BranchRepository(AdminCenterDbContext context)
     : base(context)
 {
     _context = context;
 }
示例#25
0
 public DepartmentRepository(AdminCenterDbContext context)
     : base(context)
 {
     _context = context;
 }
 public AttendanceLogRepository(AdminCenterDbContext context)
     : base(context)
 {
     _context = context;
 }
示例#27
0
 public CompanyUnitOfWork(AdminCenterDbContext context)
 {
     _context           = context;
     _companyRepository = new CompanyRepository(_context);
 }
示例#28
0
 public EducationHistoryRepository(AdminCenterDbContext context)
     : base(context)
 {
     _context = context;
 }
示例#29
0
 public HolidayUnitOfWork(AdminCenterDbContext context)
 {
     _context           = context;
     _holidayRepository = new HolidayRepository(_context);
 }
 public CalendarManagementService()
 {
     _context            = new AdminCenterDbContext();
     _calendarUnitOfWork = new CalendarUnitOfWork(_context);
 }