Created
December 20, 2019 05:18
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private static void FindCustomer(IMongoCollection<Person> collection, int id) | |
{ | |
var persons = collection.Find<Person>(person => person._id == id).ToList(); | |
foreach (var person in persons) | |
{ | |
PrintPerson(person); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment