fixed include errors

This commit is contained in:
2026-03-10 11:28:12 +01:00
parent 5c3419abc0
commit e74f8042b6
16 changed files with 32 additions and 16 deletions

View File

@@ -8,6 +8,8 @@ public class GetReviewByBookIdSpec : Specification<Review>
public GetReviewByBookIdSpec(int bookId)
{
Query
.Where(x => x.Id == bookId);
.Include(x => x.Book)
.Include(x => x.Member)
.Where(x => x.BookId == bookId);
}
}