예제 #1
0
        public ActionResult UChangePassword(string userGuid, string passwordNew, string passwordNewConfirm, bool isOnlyPlaceHolder = true)
        {
            LogicStatusInfo logicStatusInfo = new LogicStatusInfo();

            logicStatusInfo.IsSuccessful = BusinessUserBLL.ChangePassword(new Guid(userGuid), passwordNew);

            return(Json(logicStatusInfo));
        }
예제 #2
0
        public ActionResult ChangePassword(Guid userGuid, string passwordOld, string passwordNew, string passwordNewConfirm)
        {
            LogicStatusInfo logicStatusInfo = new LogicStatusInfo();

            logicStatusInfo.IsSuccessful = BusinessUserBLL.ChangePassword(userGuid, passwordNew, passwordOld);

            PassCurrentUser();
            return(View(logicStatusInfo));
        }