I can not find the answer to the following question:
I have a controller, requests from the view come in, the controller runs some sort of script. For example, a new order is created in the domain layer and accepts some default values. How can I throw it into the presentation? The problem is that the controller cannot skip over the script layer and process the domain object with the order. DTO, too, to drive dumb, have to duplicate the field, and in the end I will forget to add the field.
Please tell me what is right in such cases.