fix
This commit is contained in:
parent
a9d47cecc1
commit
f8a030850c
@ -22,9 +22,9 @@ namespace HotelContracts.ViewModels
|
||||
public ConferenceBookingViewModel() { }
|
||||
|
||||
[JsonConstructor]
|
||||
public ConferenceBookingViewModel(Dictionary<int, LunchViewModel> ConferenceBookingDinners, Dictionary<int, ConferenceBookingViewModel> ConferenceConferenceBookings)
|
||||
public ConferenceBookingViewModel(Dictionary<int, LunchViewModel> ConferenceBookingLunches, Dictionary<int, ConferenceBookingViewModel> 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);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user