Rename for clarity: AccountsSettings <=> Accounts
This commit is contained in:
parent
743644c4e9
commit
6900a68b9d
11 changed files with 265 additions and 277 deletions
|
|
@ -33,7 +33,7 @@ namespace DtoImporterService
|
|||
// currently, inserting LibraryBook will throw error if the same book is in multiple accounts for the same region.
|
||||
//
|
||||
// CURRENT SOLUTION: don't re-insert
|
||||
|
||||
|
||||
var currentLibraryProductIds = DbContext.Library.Select(l => l.Book.AudibleProductId).ToList();
|
||||
var newItems = items.Where(dto => !currentLibraryProductIds.Contains(dto.ProductId)).ToList();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue