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; }
public void reserverEmplacement(Emplacement e) { e.disponible = false; maBaseDD.SaveChanges(); }