Skip to content
Ivan Paulovich edited this page Jan 15, 2020 · 6 revisions

The flow of control begins in the controller, moves through the use case, and then winds up executing in the presenter.

Register Flow of Control

  1. An request in received by the CustomersController and an action Post is invoked.
  2. The action creates an RegisterInput message and the Register use case is executed.
  3. The Register use case creates a Customer and an Account. Repositories are called, the RegisterOutput message is built and sent to the RegisterPresenter.
  4. The RegisterPresenter builds the HTTP Response message.
  5. The CustomersController asks the presenter the current response.

Register Flow of Control

Clone this wiki locally