public User CreateUser(User value) { //value.Validate(); return Request<User>(null, "POST", value); }
public User UpdateUser(User value) { //value.Validate(); return Request<User>(value.Id, "PUT", value); }
/// <summary> /// Searches the server for results matching the values set on the query. /// The query can be null to search for all User documents. /// </summary> public TypedArray<User> GetUsers(User query) { return Request<User>(query); }