I am writing a medium-big web application using Spring as my main framework, I was wondering if I should create a service layer for each repo or if it's a good practice to have one service for multiple repos?
For example, If I have a notes, user and user_notes tables, I am planning to have the notes and user_notes in one service layer, is this a good practice?
Aucun commentaire:
Enregistrer un commentaire