コード例 #1
0
 public EmployeeService(IMapper mapper, IEmployeeRepository repository, IAccountService accountService, IAccountRepository accountRepository, IEmployeeContactRepository contactRepository, AdminDbContext adminDbContext, PersonnelFilesDbContext dbContext, IEmployeeLeaveInfoRepository leaveInfoRepository, IEmployeePersonalRepository personalRepository, IEmployeeFamilyRepository familyRepository, IEmployeeEducationRepository educationRepository, IEmployeeWorkRepository workRepository, IEmployeeLatestSelectRepository latestSelectRepository, ICacheHandler cacheHandler, IDepartmentRepository departmentRepository, IAccountRoleRepository accountRoleRepository, IConfigProvider configProvider)
 {
     _mapper                 = mapper;
     _repository             = repository;
     _accountService         = accountService;
     _accountRepository      = accountRepository;
     _contactRepository      = contactRepository;
     _adminDbContext         = adminDbContext;
     _dbContext              = dbContext;
     _leaveInfoRepository    = leaveInfoRepository;
     _personalRepository     = personalRepository;
     _familyRepository       = familyRepository;
     _educationRepository    = educationRepository;
     _workRepository         = workRepository;
     _latestSelectRepository = latestSelectRepository;
     _cacheHandler           = cacheHandler;
     _departmentRepository   = departmentRepository;
     _accountRoleRepository  = accountRoleRepository;
     _configProvider         = configProvider;
 }
コード例 #2
0
 public EmployeeEducationService(IEmployeeEducationRepository _employeeEducationRepository, IEmployeeEducationValidator _employeeEducationValidator)
 {
     _repository = _employeeEducationRepository;
     _validator  = _employeeEducationValidator;
 }
コード例 #3
0
 public EmployeeEducationService(IEmployeeEducationRepository employeeEducationRepository, IUnitOfWork unitOfWork)
 {
     this.employeeEducationRepository = employeeEducationRepository;
     this.unitOfWork = unitOfWork;
 }
コード例 #4
0
 public EmployeeEducationService(IEmployeeEducationRepository repository)
 {
     _repository = repository;
 }