isIs it bad practice that a controller callcalls a repository instead of a service?
toTo explain more:
I figure out that in good design controllers call serviceservices and serviceservices use repositoryrepositories.
butBut sometimes in controller I don't have/need any logic and just need to fetch from dbthe database and pass it to the view.
andAnd I can do it by just calling the repository - no need to call the service - is it. Is this bad practice?