private void Delete_Click(object sender, RoutedEventArgs e) { if (Id_Country != 0) { DeleteService.DeleteAllCoutry(Id_Country); } }
private void Delete_Click(object sender, RoutedEventArgs e) { if (Id_Country != 0) { DeleteService.DeleteAllCoutry(Id_Country); } CountryComboBoxList(); PresidentComboBoxList(); CityComboBoxList(); PlaceComboBoxList(); BuildingComboBoxList(); CountrySetName.Clear(); CountrySetContinent.Clear(); PresidentSetName.Clear(); PresidentSetAge.Clear(); CitySetName.Clear(); CitySetPopulation.Clear(); PlaceSetStreet.Clear(); PlaceSetPopulation.Clear(); BuildingSetType.Clear(); BuildingSetWindows.Clear(); BuildingSetIsIndustrial.Clear(); }