问题
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
来源:https://stackoverflow.com/questions/9810028/placement-of-business-logic-in-mvc