fix the workaround
appearantly a List can't be sent through the service
This commit is contained in:
parent
d89d10c19d
commit
d680164f3a
|
@ -86,13 +86,13 @@ namespace Plattform
|
|||
FreeFrom = CalendarFrom.SelectedDate,
|
||||
FreeUntil = CalendarTo.SelectedDate
|
||||
};
|
||||
Dictionary<string, List<Flight>> flights =
|
||||
new Dictionary<string, List<Flight>>();
|
||||
Dictionary < string, Flight[]> flights =
|
||||
new Dictionary<string, Flight[]>();
|
||||
List<SpecialOffer> offers = new List<SpecialOffer>();
|
||||
var flightsx = client.GetFlights(room.FreeFrom, room.FreeUntil,
|
||||
flights = client.GetFlights(room.FreeFrom, room.FreeUntil,
|
||||
room.Hotel.City.Name,
|
||||
room.RoomType.Capacity);
|
||||
foreach (var flight in flightsx["To"])
|
||||
foreach (var flight in flights["To"])
|
||||
{
|
||||
SpecialOffer offer = new SpecialOffer();
|
||||
offer.FlightTo = flight;
|
||||
|
|
Loading…
Reference in New Issue