diff --git a/ApiEfCoreLibrary/DTO/Loan/Request/CreateLoanDto.cs b/ApiEfCoreLibrary/DTO/Loan/Request/CreateLoanDto.cs index 9adf227..5dd03a9 100644 --- a/ApiEfCoreLibrary/DTO/Loan/Request/CreateLoanDto.cs +++ b/ApiEfCoreLibrary/DTO/Loan/Request/CreateLoanDto.cs @@ -4,5 +4,4 @@ public class CreateLoanDto { public int BookId { get; set; } public int UserId { get; set; } - public DateOnly Date { get; set; } } \ No newline at end of file diff --git a/ApiEfCoreLibrary/Endpoints/Loan/CreateLoanEndpoint.cs b/ApiEfCoreLibrary/Endpoints/Loan/CreateLoanEndpoint.cs index 9c33ee4..7af7d77 100644 --- a/ApiEfCoreLibrary/Endpoints/Loan/CreateLoanEndpoint.cs +++ b/ApiEfCoreLibrary/Endpoints/Loan/CreateLoanEndpoint.cs @@ -36,8 +36,8 @@ public class CreateLoanEndpoint(LibraryDbContext database) : Endpoint