Skip to content

Instantly share code, notes, and snippets.

@jmarmolejos
Created September 15, 2015 13:24
Show Gist options
  • Select an option

  • Save jmarmolejos/755f9d21c40e79cf68fe to your computer and use it in GitHub Desktop.

Select an option

Save jmarmolejos/755f9d21c40e79cf68fe to your computer and use it in GitHub Desktop.
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