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.
与业务流程或活动相关的规则:这些规则与业务流程模型中的流控制逻辑相关,它们影响分支和业务任务序列的流控制。
It models the basic process and only simple directed edges that control the flow of processing logic from one activity to the next.
该模型包括一些基本的过程以及简单的有向图,这些边框控制着从一个活动到下一活动的处理逻辑流程。
应用推荐