Hi everybody,
If we want to isolate domain from the rest of the application and for that purpose we use mediator pattern.
I think that we can move QueryHandler and CommandHandler from webapi to application layer. And Command´s and Query´s object as well.
Hi everybody, If we want to isolate domain from the rest of the application and for that purpose we use mediator pattern. I think that we can move QueryHandler and CommandHandler from webapi to application layer. And Command´s and Query´s object as well.
What do you think?
Best regards Cheers