Example #1
0
 public ActionResult Modificar(tb_pais_Info model)
 {
     if (!bus_pais.modificarDB(model))
     {
         return(View(model));
     }
     return(RedirectToAction("Consultar", new { IdPais = model.IdPais, Exito = true }));
 }
Example #2
0
 public ActionResult Modificar(tb_pais_Info model)
 {
     if (!bus_pais.modificarDB(model))
     {
         return(View(model));
     }
     return(RedirectToAction("Index"));
 }