diff --git a/Hotel/HotelContracts/ViewModels/ConferenceBookingViewModel.cs b/Hotel/HotelContracts/ViewModels/ConferenceBookingViewModel.cs index 865853d..f21ecb6 100644 --- a/Hotel/HotelContracts/ViewModels/ConferenceBookingViewModel.cs +++ b/Hotel/HotelContracts/ViewModels/ConferenceBookingViewModel.cs @@ -22,9 +22,9 @@ namespace HotelContracts.ViewModels public ConferenceBookingViewModel() { } [JsonConstructor] - public ConferenceBookingViewModel(Dictionary ConferenceBookingDinners, Dictionary ConferenceConferenceBookings) + public ConferenceBookingViewModel(Dictionary ConferenceBookingLunches, Dictionary ConferenceConferenceBookings) { - this.ConferenceBookingLunches = ConferenceBookingDinners.ToDictionary(x => x.Key, x => x.Value as ILunchModel); + this.ConferenceBookingLunches = ConferenceBookingLunches.ToDictionary(x => x.Key, x => x.Value as ILunchModel); this.ConferenceConferenceBookings = ConferenceConferenceBookings.ToDictionary(x => x.Key, x => x.Value as IConferenceBookingModel); } } diff --git a/Hotel/HotelContracts/ViewModels/RoomViewModel.cs b/Hotel/HotelContracts/ViewModels/RoomViewModel.cs index b3f314f..a30fe06 100644 --- a/Hotel/HotelContracts/ViewModels/RoomViewModel.cs +++ b/Hotel/HotelContracts/ViewModels/RoomViewModel.cs @@ -26,9 +26,9 @@ namespace HotelContracts.ViewModels public RoomViewModel() { } [JsonConstructor] - public RoomViewModel(Dictionary RoomDinners) + public RoomViewModel(Dictionary RoomLunches) { - this.RoomLunches = RoomDinners.ToDictionary(x => x.Key, x => x.Value as ILunchModel); + this.RoomLunches = RoomLunches.ToDictionary(x => x.Key, x => x.Value as ILunchModel); } } }