public ActionResult Create(Commande commande)
 {
     try
     {
         CommandeService.getInstance().create(commande, User.Identity.GetUserId());
         return(RedirectToAction("Commande"));
     }
     catch
     {
         return(View());
     }
 }
Exemplo n.º 2
0
 protected CommandeServiceProxy()
 {
     _commandeService = new CommandeService();
 }