// GET: Commande/Edit/5 public ActionResult Modifier(string id) { try { unS = Service.GetInstance(); clientel unCl = unS.RechercheUnClient(id); return(View(unCl)); } catch (MonException e) { return(HttpNotFound()); } }
public ActionResult Modifier(clientel unC) { try { // utilisation possible de Request // String s= Request["SOCIETE"]; // String v = Request["VILLE_CL"]; unS = Service.GetInstance(); unS.ModifierClient(unC); return(View()); } catch (MonException e) { return(HttpNotFound()); } }