Skip to content

Instantly share code, notes, and snippets.

@DeanPoulin
Created October 24, 2018 04:29
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save DeanPoulin/136f808c9765fc8f669515cec0d89550 to your computer and use it in GitHub Desktop.
UsersService.cs
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