Exemplo n.º 1
0
        private void LoadData()
        {
            CoffeeDataService coffeeDataService = new CoffeeDataService();

            Coffees = coffeeDataService.GetAllCoffees().ToObservableCollection();
            CoffeeListView.ItemsSource = Coffees;
        }
Exemplo n.º 2
0
        private void LoadData()
        {
            CoffeeDataService coffeeDataService = new CoffeeDataService();

            coffees = coffeeDataService.GetAllCoffees();
            CoffeeListView.ItemsSource = coffees;
        }
Exemplo n.º 3
0
        private void LoadData()
        {
            CoffeeDataService coffeeDataService = new CoffeeDataService();

            coffees = coffeeDataService.GetAllCoffees().ToObservableCollection();
        }