According to specification (Q&A in tutorial), books with same titles are counted as duplicates (Both the book ID and title are unique in your database.). However, in SqlHelpers FindIdenticalBook method, the query was written to compare title, author, publish and year. which deviates from the spec.
TA-verified: Valid
Security Issues: Data inconsistency
Comments: It may cause data inconsistency when the HTTP request asks for the duplicated title book.
According to specification (Q&A in tutorial), books with same titles are counted as duplicates (
Both the book ID and title are unique in your database.
). However, in SqlHelpers FindIdenticalBook method, the query was written to compare title, author, publish and year. which deviates from the spec.