fix error with sending responses
This commit is contained in:
@@ -37,6 +37,6 @@ public class DeleteBookEndpoint(BookRepository bookRepository, LoanRepository lo
|
||||
}
|
||||
|
||||
await bookRepository.DeleteAsync(book, ct);
|
||||
await Send.OkAsync(cancellation: ct);
|
||||
await Send.NoContentAsync(ct);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user