Skip to content

Instantly share code, notes, and snippets.

@DeanPoulin
Created December 23, 2017 15:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DeanPoulin/4c6e003948340c319b279bbcd53b3e3c to your computer and use it in GitHub Desktop.
Save DeanPoulin/4c6e003948340c319b279bbcd53b3e3c to your computer and use it in GitHub Desktop.
public interface UsersService {
[OperationContract]
[WebInvoke(Method = "POST", UriTemplate = "users",
RequestFormat = WebMessageFormat.Xml,
ResponseFormat = WebMessageFormat.Xml,
BodyStyle = WebMessageBodyStyle.Bare)]
CreateUserStatus CreateUser(WebUser user);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment