private void Page_Loaded(object sender, RoutedEventArgs e) { serviceProduct = new ServiceProduct(); productsToRestock = new ObservableCollection <Product>(serviceProduct.AllToRestock()); ListViewProductsToRestock.ItemsSource = productsToRestock; }
private void Page_Loaded(object sender, RoutedEventArgs e) { serviceProduct = new ServiceProduct(); productsToRestock = new ObservableCollection <Product>(serviceProduct.AllToRestock()); ListViewProductsToRestock.ItemsSource = productsToRestock; }