Best practices: services calling to other services or directly the repositories?
Let's say I have entities A and B. For each one I have serviceX and repositoryX. If, from serviceA, I need something from B: shouldn't I be calling serviceB? or should I directly call repositoryB?
Aucun commentaire:
Enregistrer un commentaire