private async void FillPlanesCollection() { var temp = await service.GetEntities(); foreach (var item in temp) { Planes.Add(item); } }
private async void FillAdditionalCollections() { var flights = await FService.GetEntities(); foreach (var item in flights) { Flights.Add(item); } var crews = await CService.GetEntities(); foreach (var item in crews) { Crews.Add(item); } var planes = await PService.GetEntities(); foreach (var item in planes) { Planes.Add(item); } }