private void LoadData() { CoffeeDataService coffeeDataService = new CoffeeDataService(); Coffees = coffeeDataService.GetAllCoffees().ToObservableCollection(); CoffeeListView.ItemsSource = Coffees; }
private void LoadData() { CoffeeDataService coffeeDataService = new CoffeeDataService(); coffees = coffeeDataService.GetAllCoffees(); CoffeeListView.ItemsSource = coffees; }
private void LoadData() { CoffeeDataService coffeeDataService = new CoffeeDataService(); coffees = coffeeDataService.GetAllCoffees().ToObservableCollection(); }