示例#1
0
 public ActionResult Crear(ClienteModel obj)
 {
     ViewBag.Planes   = man.Planes();
     ViewBag.Personas = man.Personas();
     man.Crear(obj);
     return(RedirectToAction("Index"));
 }
示例#2
0
 public ActionResult Crear(ClienteModel obj)
 {
     man.Crear(obj);
     return(RedirectToAction("Index"));
 }