More elegant: fetch user in controller or at database layer?

I fetch the user

  • in the controller

    Votes: 0 0.0%
  • at the database layer

    Votes: 2 100.0%

  • Total voters
    2

Marcus

Well-known member
Licensed customer
I prefer to do it within the model that keeps the controller cleaner. What do you prefer? And what is the general guideline for this?
 
Hmm? You use the controller to fetch the user from the user model.
 
Back
Top Bottom