private ServiceReference1.StadeComposite ConvertFormCollectionToStadeComposite(FormCollection collection)
 {
     ServiceReference1.StadeComposite s = new ServiceReference1.StadeComposite();
     s.Nom      = collection["Nom"];
     s.Type     = (ServiceReference1.ETypeElement)Enum.Parse(typeof(ServiceReference1.ETypeElement), collection["Type"]);
     s.NbPlaces = Convert.ToInt32(collection["NbPlaces"]);
     s.Attaque  = Convert.ToInt32(collection["Attaque"]);
     s.Defense  = Convert.ToInt32(collection["Defense"]);
     return(s);
 }
 private ServiceReference1.StadeComposite ConvertFormCollectionToStadeComposite(int id, FormCollection collection)
 {
     ServiceReference1.StadeComposite s = ConvertFormCollectionToStadeComposite(collection);
     s.Id = id;
     return(s);
 }