So, application flow control logic belongs in a controller and data access logic belongs in a repository. In that case, where do you put your validation logic?
现在我们的应用程序流控制逻辑从控制器开始,数据库访问逻辑由repository负责,现在我们要把验证逻辑放在哪里呢?
Rules relating to business processes or activities: These rules relate to flow control logic within a business process model, affecting the branching, and flow control of a sequence of business tasks.
与业务流程或活动相关的规则:这些规则与业务流程模型中的流控制逻辑相关,它们影响分支和业务任务序列的流控制。
应用推荐