public void InsertMany(IEnumerable <WordHashtagPair> pairs) { _pipelineRepo.InsertMany(pairs); _postgreRepo.InsertMany(pairs); }
private void PersistWordHashPairs(ICollection <WordHashtagPair> wordHashPairs) { _repo.InsertMany(wordHashPairs); WordHashtagPairsStored += (uint)wordHashPairs.Count; }