private void ShowAnimalsList() { listBoxAnimal.DisplayMemberPath = "Animal"; listBoxAnimal.SelectedValuePath = "Id"; listBoxAnimal.ItemsSource = DbConnectionManager.PopulateZooAnimalList(listBoxZoo).DefaultView; }