Exemplo n.º 1
0
        protected void btnSave_Click(object sender, EventArgs e)
        {
            bool      isUpdated = false;
            int       empid     = Convert.ToInt32(txtEmployeeID.Text);
            string    password  = txtConfirmPassword.Text;
            IAdminBLL obj       = TCS.ISMS.BLLFactory.AdminBLLFactory.CreateAdminBLLObject();

            isUpdated = obj.ChangePassword(empid, password);
            if (isUpdated)
            {
                lblMessage.Text = "Password Updated Successfully";
            }
        }