예제 #1
0
 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());
     }
 }
예제 #3
0
        public ActionResult Supprimer(string id)
        {
            Commandes commandes = Commandes.getCommande(id);

            return(View(commandes));
        }