AccountsCommandSet constructor
AccountsCommandSet(
- IAccountsController controller
Implementation
AccountsCommandSet(IAccountsController controller)
: _controller = controller,
super() {
addCommand(_makeGetAccountsCommand());
addCommand(_makeGetAccountByIdCommand());
addCommand(_makeGetAccountByLoginCommand());
addCommand(_makeGetAccountByIdOrLoginCommand());
addCommand(_makeCreateAccountCommand());
addCommand(_makeUpdateAccountCommand());
addCommand(_makeDeleteAccountByIdCommand());
}