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); } }