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