예제 #1
0
 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 }));
 }
예제 #2
0
 public ActionResult Nuevo(Af_Area_Info model)
 {
     model.IdUsuarioCreacion = SessionFixed.IdUsuario;
     if (!bus_area.GuardarDB(model))
     {
         return(View(model));
     }
     return(RedirectToAction("Index"));
 }