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