📜  我们在 mvc 中编写业务逻辑的地方 - 无论代码示例

📅  最后修改于: 2022-03-11 14:55:38.695000             🧑  作者: Mango

代码示例1
Business Logic goes to Model part in MVC.
Role of Model is to contain data and business logic. Controller on the other hand is responsible to receive user input and decide what to do.