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

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