I have a Observablecollection made up of some certain elements (groups). Each element inside it has another ObservableCollection with other elements. I need this to create a CollectionView with groups. If I try to delete a group from my collection, I keep seeing it in the collectionview. Do I need to update the collectionView in some way? If I try to delete a single element within the group, I see the changes, while if I delete the group, in reality the group continues to exist
Group group = MyCollection.Where(x => x.Name == "NameGroup".First();
MyCollection.Remove(group);