private int GetProvidersTotalAmount() { var results = _elasticsearchCustomClient.Count <Provider>( s => s.Index(_applicationSettings.RoatpProviderIndexAlias) .Type(Types.Parse(ProviderDocumentType))); return((int)results.Count); }
private int GetProvidersTotalAmount() { var results = _elasticsearchCustomClient.Count <Provider>( s => s.Index(_applicationSettings.RoatpProviderIndexAlias) .Type(Types.Parse(ProviderDocumentType))); return((int)results.Count); }