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
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?
 
Top Bottom