private void clearList_Click(object sender, RoutedEventArgs e) { App.Invoke(new Action(() => { _entities.Clear(); })); InventoryData.Clear(); }
void ClearList() { App.Invoke(new Action(() => { _entities.Clear(); })); InventoryData.Clear(); InventoryData.CurrentShelfNo = null; }