Re: Responsibilities of ApplicationServices versus DomainServices
Jorg Heymans <[email protected]>
| Newsgroups | gmane.comp.programming.domain-driven-design |
|---|---|
| Message-ID | <CAKoHLT53_XE_ZpMXkHnmvFX5pnJ5AqG7oNMxQLyAc5Xj-f=huA@mail.gmail.com> |
*Remaining questions*: > - Which service would you use to implement adding/removing aggregates and > raise the appropriate DomainEvent? > In our case applicationService.removeAggregate(id) delegates to aggregateRepository.remove(id), why would you need a service in between ? Jorg