Created
June 23, 2016 16:55
-
-
Save chris03/c34d865a5ae9db81e00a8ece368782c4 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
| HttpResponseMessage ToJson(BsonDocument document) | |
| { | |
| return new HttpResponseMessage { Content = new StringContent(document.ToJson(), System.Text.Encoding.UTF8, "application/json") }; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment