Esempio n. 1
0
        public async void ListInit()
        {
            Types.Clear();
            var collection = await service.GetPlaneTypesAsync();

            foreach (var item in collection)
            {
                Types.Add(item);
            }
            Type = new PlaneType()
            {
                Id = Types.Count
            };
            NotifyPropertyChanged(() => Type);
        }