Beispiel #1
0
        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);
        }
Beispiel #2
0
 public IServerResponse ChangePassword(ChangePasswordInfo changePasswordInfo)
 {
     return(serverProvider.ChangePassword(changePasswordInfo));
 }