예제 #1
0
        public ActionResult Index(Folio folio)
        {
            //try
            //{
            //var lista = FolioBusiness.GetFolioList();
            //return View(lista);
            var list = FolioBusiness.BuscarNombre(folio.Nombre, folio.Apellido);

            return(View(list));
            //}
            //catch
            //{
            //    return View();
            //}
        }
예제 #2
0
        // GET: Buscador/Edit/5
        public ActionResult Index(string id)
        {
            var list = FolioBusiness.BuscarNombre("leandro", "castro");

            return(View(list));
        }