예제 #1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            UsuarioNegocio negocio = new UsuarioNegocio();

            lista = negocio.Listar();


            dni = Request.QueryString["doc"];

            var doc = Request.QueryString["dniListo"];

            if (doc != null)
            {
                Usuario aux = new Usuario();
                aux = lista.Find(a => a.NumeroDocumento == int.Parse(dni));

                negocio.CambioPass(aux.NumeroDocumento, doc);

                Response.Redirect("~/CambioPassCorrecto.aspx", false);
            }
        }