public ActionResult Nuevo(fa_NivelDescuento_Info model) { if (!bus_nivel.GuardarDB(model)) { return(View(model)); } return(RedirectToAction("Consultar", new { IdEmpresa = model.IdEmpresa, IdNivel = model.IdNivel, Exito = true })); }
public ActionResult Nuevo(fa_NivelDescuento_Info model) { if (!bus_nivel.GuardarDB(model)) { return(View(model)); } return(RedirectToAction("Index")); }