public ActionResult Ajout(Activite nouvelleActivite) { if (ModelState.IsValid) { activite = new Activite(); return(View("Details", activite.Ajout(nouvelleActivite, contexte))); } else { return(View()); } }