Hey!
I have the following objects:
Person <- Contact -> ClientsPerson <- Client
I'm using the repository pattern with a service layer. But already here, being a perfectionist, I'm lost!
I also have a PersonService, ClientService and I'm pretty sure I need to have a ContactService which should call the personService.Add(person) and clientsPersonService.Add(client) - or?
The job is to add a contact. The contact would have a Person object related, and a ClientsPerson object. And that ClientsPerson would ofc. have a Client.
Where should the different jobs go to? I've heard it's bad to call a service/repository from one to another.
As you can see, I might need some help on this one!