fixed include errors
This commit is contained in:
@@ -8,6 +8,7 @@ public class GetAuthorByIdSpec : SingleResultSpecification<Author>
|
||||
public GetAuthorByIdSpec(int authorId)
|
||||
{
|
||||
Query
|
||||
.Include(x => x.Books)
|
||||
.Where(x => x.Id == authorId);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user