Exemple #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;
 }
Exemple #2
0
 public EmployeeService(IEmployeesRepository repository, IEmployeeContactRepository contactRepository) : base(repository)
 {
     _repository        = repository;
     _contactRepository = contactRepository;
 }