search

Home  >  Q&A  >  body text

Design Pattern - Can the BLL in the three-tier architecture only interact with the MVC Controller?

The presentation layer in the three-tier architecture uses MVC, so can the interface in the business logic layer not be directly called from the outside? Instead, it should interact with the business logic layer through the Controller in MVC. Only the Controller of the presentation layer can be called externally?

In other words, only the Controller in the presentation layer MVC is allowed to interact with the business logic layer (BLL)?

为情所困为情所困2888 days ago918

reply all(2)I'll reply

  • phpcn_u1582

    phpcn_u15822017-05-16 17:07:49

    Yes, the BLL layer can only be called by the controller. If you want to call it externally, you can call it through WebApi.

    reply
    0
  • 仅有的幸福

    仅有的幸福2017-05-16 17:07:49

    The business logic layer can only be called by the controller, which is correct.

    reply
    0
  • Cancelreply