public ActionResult Modifier(string id) { try { Commandes uneCde = Commandes.getCommande(id); return(View(uneCde)); } catch (MonException e) { return(HttpNotFound()); } }
public ActionResult Details(String id) { try { Commandes comm = Commandes.getCommande(id); comm.ListeDetails = Models.Metier.Details.getDetails(id); return(View(comm)); } catch (MonException e) { return(HttpNotFound()); } }
public ActionResult Supprimer(string id) { Commandes commandes = Commandes.getCommande(id); return(View(commandes)); }