code clean up

This commit is contained in:
Robert McRackan 2022-05-02 16:13:35 -04:00
parent 1816bd721c
commit 28625029cd
21 changed files with 44 additions and 202 deletions

View file

@ -19,7 +19,7 @@ namespace DataLayer
.Entries()
.Where(e => e.State.In(EntityState.Modified, EntityState.Added))
.Select(e => e.Entity as UserDefinedItem)
.Where(udi => udi != null)
.Where(udi => udi is not null)
// do NOT filter out entires with blank tags. blank is the valid way to show the absence of tags
.Select(t => (t.Book.AudibleProductId, t.Tags))
.ToList();