Beispiel #1
0
        private async void FillPilotsCollection()
        {
            var temp = await service.GetEntities();

            foreach (var item in temp)
            {
                Pilots.Add(item);
            }
        }
        private async void FillAdditionalCollections()
        {
            var pilots = await pilotService.GetEntities();

            foreach (var item in pilots)
            {
                Pilots.Add(item);
            }


            var stewardesses = await stewardessService.GetEntities();

            foreach (var item in stewardesses)
            {
                Stewardesses.Add(item);
            }
        }