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