Beispiel #1
0
 public EmployeeController(IEmployeeService employeeService, IElasticSearchIndexerService elasticSearchIndexerService)
 {
     _employeeService             = employeeService;
     _elasticSearchIndexerService = elasticSearchIndexerService;
 }
Beispiel #2
0
 public EmployeeService(IEmployeeRepository employeeRepository, IMapper mapper, IElasticSearchIndexerService elasticSearchIndexerService)
 {
     _employeeRepository          = employeeRepository;
     _elasticSearchIndexerService = elasticSearchIndexerService;
     _mapper = mapper;
 }