private void DeleteButton_Click(object sender, RoutedEventArgs e) { foreach (var item in SearchList) { MoviesList.Remove(item); } SearchList.Clear(); }
private void RemoveMovie(Movie movie) { MoviesList.Remove(movie); }
private void DeleteButton_Click(object sender, RoutedEventArgs e) { foreach (var item in SearchList) { MoviesList.Remove(item); } SearchList.Clear(); }
private void RemoveMovie(Movie movie) { MoviesList.Remove(movie); }