Jun 13, 2023
Updating should be in the domain layer. For example make a payment. The class payment should have the ConfirmPayment() method. But this type of mapping can be at the service layer, domain layer, infra layer any where you need.
I respect your point of view. Thanks