Authors
BookAuthors
AuthorlD
Name
Bio
BooklD
AuthorlD
Books
BookID
Title
Publisher
Publication Year
Users
UserID
FullName
Email
MembershipDate
Borrow Transaction
TransactionID
UserID
CopylD
BorrowDate
ReturnDate
BookCopies
CopyID
BookID
ISBN
EditionNumber
PrintYear
Condition
Figure 1 - The database diagram.
General Requirements
You must use Entity Framework (EF) to connect to the database and retrieve the data.
The connection string must be stored in the appsettings.json file.
The application must run on port 5000.
Data: Each book should contain the following fields: BookID, Title, Author (with Authorld, Name and Bio), Publisher, Publication Year.
Media Formatter
Ensure the API supports both JSON and XML input and output formats using media formatters.
The API response should be formatted according to the Accept header sent by the client.
Problem Description
You are tasked with building an API application to manage the list of books in a library. The API must provide the following APIs:
Zoom
+ 100%
Close