fixed include errors
This commit is contained in:
@@ -9,6 +9,8 @@ public class GetBookByIdSpec : SingleResultSpecification<Book>
|
||||
{
|
||||
Query
|
||||
.Include(x => x.Author)
|
||||
.Include(x => x.Reviews)!
|
||||
.ThenInclude(x => x.Member)
|
||||
.Where(x => x.Id == bookId);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user