├── .gitignore ├── AppContext └── BookDbContext.cs ├── Configurations └── BookTypeConfigurations.cs ├── Contracts ├── ApiResponse.cs ├── CreateBookRequest.cs ├── ErrorResponse.cs ├── BookResponse.cs └── UpdateBookRequest.cs ├── Endpoints └── BookEndPoint.cs ├── Exceptions ├── BookDoesNotExistException.cs ├── GlobalExceptionHandler.cs └── NoBookFoundException.cs ├── Extensions └── ServiceExtensions.cs ├── Interfaces └── IBookService.cs ├── Migrations ├── 20241008211953_InitialCreate.Designer.cs ├── 20241008211953_InitialCreate.cs └── ApplicationContextModelSnapshot.cs ├── Models └── bookModel.cs ├── Program.cs ├── Properties └── launchSettings.json ├── README.md ├── Services └── BookService.cs ├── appsettings.Development.json ├── appsettings.json ├── bookapi-minimal.csproj ├── bookapi-minimal.http └── bookapi-minimal.sln /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/bookapi-minimal/HEAD/.gitignore -------------------------------------------------------------------------------- /AppContext/BookDbContext.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/bookapi-minimal/HEAD/AppContext/BookDbContext.cs -------------------------------------------------------------------------------- /Configurations/BookTypeConfigurations.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/bookapi-minimal/HEAD/Configurations/BookTypeConfigurations.cs -------------------------------------------------------------------------------- /Contracts/ ApiResponse.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/bookapi-minimal/HEAD/Contracts/ ApiResponse.cs -------------------------------------------------------------------------------- /Contracts/ CreateBookRequest.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/bookapi-minimal/HEAD/Contracts/ CreateBookRequest.cs -------------------------------------------------------------------------------- /Contracts/ ErrorResponse.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/bookapi-minimal/HEAD/Contracts/ ErrorResponse.cs -------------------------------------------------------------------------------- /Contracts/BookResponse.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/bookapi-minimal/HEAD/Contracts/BookResponse.cs -------------------------------------------------------------------------------- /Contracts/UpdateBookRequest.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/bookapi-minimal/HEAD/Contracts/UpdateBookRequest.cs -------------------------------------------------------------------------------- /Endpoints/BookEndPoint.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/bookapi-minimal/HEAD/Endpoints/BookEndPoint.cs -------------------------------------------------------------------------------- /Exceptions/BookDoesNotExistException.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/bookapi-minimal/HEAD/Exceptions/BookDoesNotExistException.cs -------------------------------------------------------------------------------- /Exceptions/GlobalExceptionHandler.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/bookapi-minimal/HEAD/Exceptions/GlobalExceptionHandler.cs -------------------------------------------------------------------------------- /Exceptions/NoBookFoundException.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/bookapi-minimal/HEAD/Exceptions/NoBookFoundException.cs -------------------------------------------------------------------------------- /Extensions/ServiceExtensions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/bookapi-minimal/HEAD/Extensions/ServiceExtensions.cs -------------------------------------------------------------------------------- /Interfaces/IBookService.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/bookapi-minimal/HEAD/Interfaces/IBookService.cs -------------------------------------------------------------------------------- /Migrations/20241008211953_InitialCreate.Designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/bookapi-minimal/HEAD/Migrations/20241008211953_InitialCreate.Designer.cs -------------------------------------------------------------------------------- /Migrations/20241008211953_InitialCreate.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/bookapi-minimal/HEAD/Migrations/20241008211953_InitialCreate.cs -------------------------------------------------------------------------------- /Migrations/ApplicationContextModelSnapshot.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/bookapi-minimal/HEAD/Migrations/ApplicationContextModelSnapshot.cs -------------------------------------------------------------------------------- /Models/bookModel.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/bookapi-minimal/HEAD/Models/bookModel.cs -------------------------------------------------------------------------------- /Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/bookapi-minimal/HEAD/Program.cs -------------------------------------------------------------------------------- /Properties/launchSettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/bookapi-minimal/HEAD/Properties/launchSettings.json -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/bookapi-minimal/HEAD/README.md -------------------------------------------------------------------------------- /Services/BookService.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/bookapi-minimal/HEAD/Services/BookService.cs -------------------------------------------------------------------------------- /appsettings.Development.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/bookapi-minimal/HEAD/appsettings.Development.json -------------------------------------------------------------------------------- /appsettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/bookapi-minimal/HEAD/appsettings.json -------------------------------------------------------------------------------- /bookapi-minimal.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/bookapi-minimal/HEAD/bookapi-minimal.csproj -------------------------------------------------------------------------------- /bookapi-minimal.http: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/bookapi-minimal/HEAD/bookapi-minimal.http -------------------------------------------------------------------------------- /bookapi-minimal.sln: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Clifftech123/bookapi-minimal/HEAD/bookapi-minimal.sln --------------------------------------------------------------------------------