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