Beispiel #1
0
 public PositionManagementService()
 {
     _context              = new AdminCenterDbContext();
     _positionUnitOfWork   = new PositionUnitOfWork(_context);
     _companyUnitOfWork    = new CompanyUnitOfWork(_context);
     _departmentUnitOfWork = new DepartmentUnitOfWork(_context);
 }
Beispiel #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);
 }
Beispiel #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);
 }
Beispiel #8
0
 public ShiftUnitOfWork(AdminCenterDbContext context)
 {
     _context         = context;
     _shiftRepository = new ShiftRepository(_context);
 }
Beispiel #9
0
 public LeaveTypeUnitOfWork(AdminCenterDbContext context)
 {
     _context             = context;
     _leaveTypeRepository = new LeaveTypeRepository(_context);
 }
 public CalendarUnitOfWork(AdminCenterDbContext context)
 {
     _context            = context;
     _calendarRepository = new CalendarRepository(_context);
 }
 public CareerHistoryRepository(AdminCenterDbContext context)
     : base(context)
 {
     _context = context;
 }
 public AttendanceUnitOfWork(AdminCenterDbContext context)
 {
     _context = context;
     _attendanceRepository = new AttendanceRepository(_context);
 }
Beispiel #13
0
 public LeaveApplicationRepository(AdminCenterDbContext context)
     : base(context)
 {
     _context = context;
 }
Beispiel #14
0
 public LeaveTypeRepository(AdminCenterDbContext context) : base(context)
 {
     _context = context;
 }
Beispiel #15
0
 public DepartmentUnitOfWork(AdminCenterDbContext context)
 {
     _context = context;
     _departmentRepository = new DepartmentRepository(_context);
 }
 public RoleManagementService()
 {
     _context        = new AdminCenterDbContext();
     _roleUnitOfWork = new RoleUnitOfWork(_context);
 }
Beispiel #17
0
 public LeaveTypeManagementService()
 {
     _context             = new AdminCenterDbContext();
     _leaveTypeUnitOfWork = new LeaveTypeUnitOfWork(_context);
 }
 public PositionUnitOfWork(AdminCenterDbContext context)
 {
     _context = context;
     _positionRepository = new PositionRepository(_context);
 }
 public AttendanceManagementService()
 {
     _context = new AdminCenterDbContext();
     _attendanceUnitOfWork = new AttendanceUnitOfWork(_context);
 }
Beispiel #20
0
 public TimeTableUnitOfWork(AdminCenterDbContext context)
 {
     _context             = context;
     _timeTableRepository = new TimeTableRepository(_context);
 }
Beispiel #21
0
 public RoleTaskRepository(AdminCenterDbContext context)
     : base(context)
 {
     _context = context;
 }
Beispiel #22
0
 public HolidayRepository(AdminCenterDbContext context)
     : base(context)
 {
     _context = context;
 }
Beispiel #23
0
 public PositionRepository(AdminCenterDbContext context)
     : base(context)
 {
     _context = context;
 }
Beispiel #24
0
 public BranchRepository(AdminCenterDbContext context)
     : base(context)
 {
     _context = context;
 }
Beispiel #25
0
 public DepartmentRepository(AdminCenterDbContext context)
     : base(context)
 {
     _context = context;
 }
 public AttendanceLogRepository(AdminCenterDbContext context)
     : base(context)
 {
     _context = context;
 }
 public CompanyUnitOfWork(AdminCenterDbContext context)
 {
     _context           = context;
     _companyRepository = new CompanyRepository(_context);
 }
 public EducationHistoryRepository(AdminCenterDbContext context)
     : base(context)
 {
     _context = context;
 }
Beispiel #29
0
 public HolidayUnitOfWork(AdminCenterDbContext context)
 {
     _context           = context;
     _holidayRepository = new HolidayRepository(_context);
 }
 public CalendarManagementService()
 {
     _context            = new AdminCenterDbContext();
     _calendarUnitOfWork = new CalendarUnitOfWork(_context);
 }