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)); }
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)); }