public Task ChangePassword(EndPoint endPoint, string login, ChangePasswordDetails changePasswordDetails, UserCredentials userCredentials) { return(SendPost( endPoint.ToHttpUrl(EndpointExtensions.HTTP_SCHEMA, "/users/{0}/command/change-password", login), changePasswordDetails.ToJson(), userCredentials, HttpStatusCode.OK)); }
public Task ChangePassword(IPEndPoint endPoint, string login, ChangePasswordDetails changePasswordDetails, UserCredentials userCredentials) { return SendPost(endPoint.ToHttpUrl("/users/{0}/command/change-password", login), changePasswordDetails.ToJson(), userCredentials, HttpStatusCode.OK); }