Skip to content

Instantly share code, notes, and snippets.

@DeanPoulin
Created October 24, 2018 04:29
Embed
What would you like to do?
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