Open inesc-id-esw opened 13 years ago
AddTeacher is a command handler, not a service. A command represents an action that can be performed on the domain, something akin to an use-case. However, a command handler may depend on application or domain services (such as the repository) to fulfill the command. Makes sense?
I agree...in part. And, I also remeber when we have discussed the existence of a services layer and now we have not one, but two more abstraction layers.
Why the services implementation, such as AddTeacher, are not in "Services" folder?