Exemplo n.º 1
0
 public ActionResult AjouterParticipant(Participant nouveauParticipant)
 {
     if (ModelState.IsValid)
     {
         activite = new Activite();
         return(RedirectToAction("Details", "Participants", activite.AjouterParticipant(nouveauParticipant, contexte)));
     }
     else
     {
         return(View());
     }
 }