Exemplo n.º 1
0
 public UserController(IAddUserCommand iAddUserCommand
                       , ISignInUserCommand iSignInUserCommand
                       , IEditUserCommand iEditUserCommand
                       , IGetUserCommand iGetUserCommand
                       , IFollowUserCommand iFollowUserCommand)
 {
     _addUserCommand     = iAddUserCommand;
     _iSignInUserCommand = iSignInUserCommand;
     _ieditUserCommand   = iEditUserCommand;
     _iGetUserCommand    = iGetUserCommand;
     _iFollowUserCommand = iFollowUserCommand;
 }
Exemplo n.º 2
0
 public AccountsController(IRegisterNewUserCommand registerNewUserCommand, ISignInUserCommand signInUserCommand)
 {
     this.registerNewUserCommand = registerNewUserCommand;
     this.signInUserCommand      = signInUserCommand;
 }