Ejemplo n.º 1
0
        public async Task UpdateListAsync()
        {
            var newCollection = new ObservableCollection <Aircraft>(await _aircraftService.GetAsync());

            Aircrafts.Clear();
            foreach (var item in newCollection)
            {
                Aircrafts.Add(item);
            }
        }