public ElasticController(ILogger <ElasticController> logger, IElastic elasticClient, IConfiguration configuration) { _logger = logger; _client = elasticClient; _configuration = configuration; _dateFormat = configuration.GetValue <string>("DateTimeFormat"); }
public DocumentService(IElastic elastic) : base(elastic) { }
protected BaseService(IElastic elastic) => Elastic = elastic;
public IndexService(IElastic elastic) : base(elastic) { }
public SearchService(IElastic elastic) : base(elastic) { }
public WeatherForecastController(ILogger <WeatherForecastController> logger, IElastic elastic) { _logger = logger; _elastic = elastic; }