public IServerResponse ChangePassword(ChangePasswordInfo changePasswordInfo) { Assert.IsNotNull(changePasswordInfo); Assert.IsStringNotNullOrEmpty(changePasswordInfo.OldPassword); Assert.IsStringNotNullOrEmpty(changePasswordInfo.NewPassword); Assert.AreEqual(changePasswordInfo.NewPassword, changePasswordInfo.ConfirmPassword); IServerResponse response = serverProvider.ChangePassword(changePasswordInfo); return(response); }
public IServerResponse ChangePassword(ChangePasswordInfo changePasswordInfo) { return(serverProvider.ChangePassword(changePasswordInfo)); }