Created
September 15, 2015 13:24
-
-
Save jmarmolejos/755f9d21c40e79cf68fe 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
| public async Task<Notification> Post(Notification notification) | |
| { | |
| var uriBuilder = GetCouchUrl(); | |
| using (var client = new MyCouchClient(uriBuilder.Build())) | |
| { | |
| var response = await client.Entities.PostAsync(notification); | |
| return response.Content; | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment