Ejemplo n.º 1
0
        private void RefreshButton_Click(object sender, RoutedEventArgs e)
        {
            viewModel.GetCars();
            CarsCollection.Clear();

            foreach (var car in viewModel.Cars)
            {
                CarsCollection.Add(car);
            }
        }