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