public UserController(IAddUserCommand iAddUserCommand
                       , ISignInUserCommand iSignInUserCommand
                       , IEditUserCommand iEditUserCommand
                       , IGetUserCommand iGetUserCommand
                       , IFollowUserCommand iFollowUserCommand)
 {
     _addUserCommand     = iAddUserCommand;
     _iSignInUserCommand = iSignInUserCommand;
     _ieditUserCommand   = iEditUserCommand;
     _iGetUserCommand    = iGetUserCommand;
     _iFollowUserCommand = iFollowUserCommand;
 }
Exemple #2
0
 public CommandHandler(
     IOutputWriter writer,
     ICreatePostCommand createPostCommand,
     IFollowUserCommand followUserCommand,
     IWallQuery wallQuery,
     IGetPostListByUserQuery getPostListByUserQuery)
 {
     _writer                 = writer;
     _createPostCommand      = createPostCommand;
     _followUserCommand      = followUserCommand;
     _wallQuery              = wallQuery;
     _getPostListByUserQuery = getPostListByUserQuery;
 }