fixed include errors
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user