Exemple #1
0
 public void Store(T entity)
 {
     _elasticSearchProvider
     .ESClient()
     .Index(entity, i => i
            .Index(entity.GetType().Name));
 }
Exemple #2
0
 public void Store(RequestMetrics db)
 {
     var response = _repository
                    .ESClient()
                    .Index(db, s => s
                           .Index(RequestMetrics.Name));
 }
Exemple #3
0
 public void Store(ApplicationMetrics db)
 {
     var response = _repository
                    .ESClient().Index(db, s => s.Index(ApplicationMetrics.Name));
 }