0
As well as the classes and objects of an application, mine controllers should have a single responsibility?
Example.
I have my controller Cliente, who has all relations with my model Cliente.
I also have the model Contato.
It would be right for me to have mine actions ContatoPorCliente, ExcluirContatoCliente, etc. within my controller Cliente? Those actions are called in the view Cliente.
My question is why sometimes we have screens that have several Tabs(Tab) in a form. Client who has Contact, Financial Data, etc...
Yes, that’s right, but when there is a Customer Contact reference, where you do your actions?
– Rod