private void ReturnMovie() { if (_dialogService.ShowMessageBox( this, Local.Strings.txtReturnConfirmation, Local.Strings.txtConfirmationRequired, MessageBoxButton.YesNo, MessageBoxImage.Question) == MessageBoxResult.Yes) { var rentalsToRemove = new List <Rental>(); foreach (var item in Rentals.Where(i => i.IsSelected)) { rentalsToRemove.Add(item.Model); } _videoStoreService.DeleteRentals(rentalsToRemove); // refresh _rentals = _videoStoreService.GetRentals(); RefreshRentals(); RefreshDatesOfRental(); RefreshDueDates(); RefreshUsers(); } }