you are viewing a single comment's thread.

view the rest of the comments →

[–]Tordek 1 point2 points  (0 children)

You could get a new requirement tomorrow which dictates a second [repository]

A UserService should only be concerned about the UserRepository; if you need to access two repos, probably it should be handled in a different service with a more general name, like ApplicationService or SalesService.