Exemplo n.º 1
0
        public void Buscar(FormCollection collection)
        {
            string nombre = Request.Form["target"];

            if (nombre == null)
            {
                nombre = "";
            }
            List <Libros.Models.Autor> autores = new Libros.Models.Autor().Buscar_Autores(nombre);

            ViewData["autores"] = autores;
        }