Esempio n. 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));
        }
Esempio n. 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));
        }