Dovydas
Repository-Service-Model pattern
I am working on a Blazor web app and am confused about the Repository-Service-Model pattern, especially the roles of the service and model layers. Currently, I find myself calling repository methods through the service layer and then calling service methods through the model layer, which feels redundant. Am I misunderstanding the purpose of these layers, or is there a more efficient way to structure this pattern?
5 replies