예제 #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 }));
 }
예제 #2
0
 public ActionResult Modificar(tb_pais_Info model)
 {
     if (!bus_pais.modificarDB(model))
     {
         return(View(model));
     }
     return(RedirectToAction("Index"));
 }