Created
September 29, 2017 17:39
-
-
Save NMZivkovic/9ee14ff39fa6fb02c605ca9cdb5d3d5b to your computer and use it in GitHub Desktop.
This file contains hidden or 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
var users = await _mongoDbRepo.GetUsersByField("name", "Nikola"); | |
var user = users.FirstOrDefault(); | |
var result = await _mongoDbRepo.UpdateUser(user.Id, "address", "test address"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment