0
good day, I’m making a shopping cart and in it I have a function to list the products, and return me an array to then I list in my view more I don’t know if it would be the right one to do it in my class or inside a model and a controller, plus what I need is to get the database data I need to know if it is possible to do it directly in the class or I have to do it with model and controller. thanks to all our friends