Enterprise Application Architecture with .NET Core
上QQ阅读APP看书,第一时间看更新

Transaction Script pattern

With this approach, the business layer provides simple public methods to perform a particular functionality. This is a procedural approach, where each method represents the corresponding operation taken on the presentation layer. For example, the SubmitVendor action may have a corresponding method in the business layer such as CreateVendor and so on.