public ControllerImpl(PersonService personService, ClientService clientService, ProspectService prospectService, AccomodationService accomodationService, PersonQueryExtended personQuery, AccomodationQueryExtended accomodationQuery) { this.personService = personService; this.clientService = clientService; this.prospectService = prospectService; this.accomodationService = accomodationService; this.personQuery = personQuery; this.accomodationQuery = accomodationQuery; }
public NotifyProspectsWhenAccomodationIsSoldDomainEventHandler(WriteStrategy writeStrategy, PersonQueryExtended personQuery) { this.personQuery = personQuery; this.writeStrategy = writeStrategy; }