Placement of Business Logic in MVC

2019-07-29 11:37发布

问题:

I want to know where in my code I should place my business logic. Should it be in my model or should it be in the controller? I have always thought it should be in the controller but I have been told by a friend that I should put it in the model.

Any help would be appreciated.

Thanks,

Sachin