private List <Test> PrepareDatabase()
        {
            var documents = InitializeData.InsertMany();

            mongoCollection.InsertMany(documents);
            return(documents);
        }
Exemple #2
0
        private void PrepareDatabase()
        {
            var documents = InitializeData.InsertMany();

            mongoCollection.InsertMany(documents);
        }