Created all validators
This commit is contained in:
@@ -8,6 +8,7 @@ public class GetBookByIdSpec : SingleResultSpecification<Book>
|
||||
public GetBookByIdSpec(int bookId)
|
||||
{
|
||||
Query
|
||||
.Include(x => x.Author)
|
||||
.Where(x => x.Id == bookId);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user