Cleaned code

This commit is contained in:
2026-03-17 10:27:53 +01:00
parent 15075eb051
commit d202d1541d
55 changed files with 306 additions and 264 deletions

View File

@@ -27,7 +27,7 @@ public class PatchReturnLoanEndpoint(LoanRepository loanRepository) : Endpoint<P
await Send.NotFoundAsync(ct);
return;
}
loan?.ReturnDate = req.ReturnDate;
await loanRepository.SaveChangesAsync(ct);
await Send.NoContentAsync(ct);