Esempio n. 1
0
 public Reservation(bool tente, DateTime arrivee, DateTime depart, int nbrAdultes, int nbrEnfants, bool supParking, bool supElectricite, bool validation)
 {
     this.tente          = tente;
     this.arrivee        = arrivee;
     this.depart         = depart;
     this.nbrAdultes     = nbrAdultes;
     this.nbrEnfants     = nbrEnfants;
     this.supParking     = supParking;
     this.supElectricite = supElectricite;
     this.validation     = validation;
     this.emplacement    = emplacement;
 }
Esempio n. 2
0
 public void reserverEmplacement(Emplacement e)
 {
     e.disponible = false;
     maBaseDD.SaveChanges();
 }
Esempio n. 3
0
 public void reserverEmplacement(Emplacement e)
 {
     e.disponible = false;
     maBaseDD.SaveChanges();
 }