示例#1
0
        private void LoadData()
        {
            CoffeeDataService coffeeDataService = new CoffeeDataService();

            Coffees = coffeeDataService.GetAllCoffees().ToObservableCollection();
            CoffeeListView.ItemsSource = Coffees;
        }
示例#2
0
        private void LoadData()
        {
            CoffeeDataService coffeeDataService = new CoffeeDataService();

            coffees = coffeeDataService.GetAllCoffees();
            CoffeeListView.ItemsSource = coffees;
        }
示例#3
0
        private void LoadData()
        {
            CoffeeDataService coffeeDataService = new CoffeeDataService();

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