Skip to content

Instantly share code, notes, and snippets.

@pedroreys
Created March 14, 2012 03:59
Show Gist options
  • Save pedroreys/2033950 to your computer and use it in GitHub Desktop.
Save pedroreys/2033950 to your computer and use it in GitHub Desktop.
public HttpResponseMessage<Contact> Post(Contact contact)
{
this.repository.Post(contact);
return new CreateResponse<Contact>(contact, this.ControllerContext);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment