public ActionResult Modificar(com_TerminoPago_Info model) { model.IdUsuarioUltMod = SessionFixed.IdUsuario; if (!bus_termino.modificarDB(model)) { return(View(model)); } return(RedirectToAction("Index")); }
public ActionResult Modificar(com_TerminoPago_Info model) { model.IdUsuarioUltMod = SessionFixed.IdUsuario; if (!bus_termino.modificarDB(model)) { return(View(model)); } return(RedirectToAction("Consultar", new { IdEmpresa = model.IdEmpresa, IdTerminoPago = model.IdTerminoPago, Exito = true })); }