public ActionResult Nuevo(Af_Area_Info model) { model.IdUsuarioCreacion = SessionFixed.IdUsuario; if (!bus_area.GuardarDB(model)) { return(View(model)); } return(RedirectToAction("Consultar", new { IdEmpresa = model.IdEmpresa, IdArea = model.IdArea, Exito = true })); }
public ActionResult Nuevo(Af_Area_Info model) { model.IdUsuarioCreacion = SessionFixed.IdUsuario; if (!bus_area.GuardarDB(model)) { return(View(model)); } return(RedirectToAction("Index")); }