pablocom / PersonalSite.Backend

This repository is used to study Domain-Driven Design principles, practices and patterns.
4 stars 0 forks source link

Move handlers from webApi to Application layer #24

Open seymourpoler opened 1 year ago

seymourpoler commented 1 year ago

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

seymourpoler commented 1 year ago

it is done in the PR #27