Exemple #1
0
 public ActionResult Editar(long id, ClienteModel obj)
 {
     ViewBag.Planes   = man.Planes();
     ViewBag.Personas = man.Personas();
     obj.idcliente    = id;
     man.Editar(obj);
     return(RedirectToAction("Index"));
 }
Exemple #2
0
 public ActionResult Editar(int id, ClienteModel obj)
 {
     obj.idcliente = id;
     man.Editar(obj);
     return(RedirectToAction("Index"));
 }