diff --git a/Views/Reservation/AjouterReservationPage.xaml b/Views/Reservation/AjouterReservationPage.xaml
index ee647a5..8e25cc2 100644
--- a/Views/Reservation/AjouterReservationPage.xaml
+++ b/Views/Reservation/AjouterReservationPage.xaml
@@ -21,7 +21,7 @@
-
+
diff --git a/Views/Reservation/AjouterReservationPage.xaml.cs b/Views/Reservation/AjouterReservationPage.xaml.cs
index 33b0b19..083d6b7 100644
--- a/Views/Reservation/AjouterReservationPage.xaml.cs
+++ b/Views/Reservation/AjouterReservationPage.xaml.cs
@@ -69,7 +69,7 @@ namespace HegreHotel.Views.Reservation
{
ClientId = _clients[PickerClient.SelectedIndex].Id,
ChambreId = _chambresDispo[PickerChambre.SelectedIndex].Id,
- NbInvite = int.TryParse(EntryNbPersonne.Text, out int nb) ? nb : 0,
+ NbInvite = int.TryParse(EntryNbInvite.Text, out int nb) ? nb : 0,
DateDebut = DatePickerDebut.Date,
DateFin = DatePickerFin.Date,
DemandeSpecifique = EntryDemandeSpecifique.Text
diff --git a/Views/Reservation/ModifierReservationPage.xaml b/Views/Reservation/ModifierReservationPage.xaml
index 9332d6c..b7274c4 100644
--- a/Views/Reservation/ModifierReservationPage.xaml
+++ b/Views/Reservation/ModifierReservationPage.xaml
@@ -8,7 +8,7 @@
-
+
diff --git a/Views/Reservation/ModifierReservationPage.xaml.cs b/Views/Reservation/ModifierReservationPage.xaml.cs
index 8d589d1..decd66e 100644
--- a/Views/Reservation/ModifierReservationPage.xaml.cs
+++ b/Views/Reservation/ModifierReservationPage.xaml.cs
@@ -34,7 +34,7 @@ namespace HegreHotel.Views.Reservation
PickerClient.SelectedIndex = _clients.FindIndex(c => c.Id == _reservation.ClientId);
PickerChambre.SelectedIndex = _chambres.FindIndex(ch => ch.Id == _reservation.ChambreId);
- EntryNbPersonne.Text = _reservation.NbInvite.ToString();
+ EntryNbInvite.Text = _reservation.NbInvite.ToString();
DatePickerDebut.Date = _reservation.DateDebut;
DatePickerFin.Date = _reservation.DateFin;
EntryDemandeSpecifique.Text = _reservation.DemandeSpecifique;
@@ -50,7 +50,7 @@ namespace HegreHotel.Views.Reservation
_reservation.ClientId = _clients[PickerClient.SelectedIndex].Id;
_reservation.ChambreId = _chambres[PickerChambre.SelectedIndex].Id;
- _reservation.NbInvite = int.TryParse(EntryNbPersonne.Text, out int nb) ? nb : _reservation.NbInvite;
+ _reservation.NbInvite = int.TryParse(EntryNbInvite.Text, out int nb) ? nb : _reservation.NbInvite;
_reservation.DateDebut = DatePickerDebut.Date;
_reservation.DateFin = DatePickerFin.Date;
_reservation.DemandeSpecifique = EntryDemandeSpecifique.Text;