Esempio n. 1
0
        protected void btnConfirm_Click(object sender, EventArgs e)
        {
            AccountsProtect protect = new AccountsProtect();

            protect.Response1 = CtrlHelper.GetText(txtResponse1);
            protect.Response2 = CtrlHelper.GetText(txtResponse2);
            protect.Response3 = CtrlHelper.GetText(txtResponse3);

            protect.UserID = Fetch.GetUserCookie().UserID;

            Message umsg = accountsFacade.ConfirmUserSecurity(protect);

            if (umsg.Success)
            {
                this.form1.Visible = false;
                this.form2.Visible = true;

                BindProtectQuestion();
            }
            else
            {
                Show(umsg.Content);
            }
        }