API's met returns van objecten
Some checks failed
Docker Image CI / build-and-push (push) Failing after 20s
Docker Image CI / deploy (push) Has been skipped

This commit is contained in:
2025-03-22 16:55:46 +01:00
parent 2a50edc41d
commit 40f983980d
4 changed files with 18 additions and 15 deletions

View File

@@ -28,7 +28,8 @@ public class CustomerService {
}
@Transactional
public void addCustomer(Customer customer) {
public Customer addCustomer(Customer customer) {
customerRepository.persist(customer);
return customer;
}
}