Cleaned code
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user