public UserController( IAddUserUseCase addUserUseCase, IRemoveUserUseCase removeUserUseCase, IUpdateUserUseCase updateUserUseCase, IGetAllUserUseCase getAllUserUseCase, IGetByIdUserUseCase getByIdUserUseCase, IGetByNameUser getByNameUser, ITokenRepository tokenRepository) { this.addUserUseCase = addUserUseCase; this.removeUserUseCase = removeUserUseCase; this.updateUserUseCase = updateUserUseCase; this.getAllUserUseCase = getAllUserUseCase; this.getByIdUserUseCase = getByIdUserUseCase; this.getByNameUser = getByNameUser; this.tokenRepository = tokenRepository; }
public CommentController( IAddCommentUseCase addCommentUseCase, IRemoveCommentUseCase removeCommentUseCase, IUpdateCommentUseCase updateCommentUseCase, IGetAllCommentUseCase getAllCommentUseCase, IGetByIdCommentUseCase getByIdCommentUseCase, IGetByIdPostUseCase getByIdPostUseCase, IGetByIdUserUseCase getByIdUserUseCase) { this.addCommentUseCase = addCommentUseCase; this.removeCommentUseCase = removeCommentUseCase; this.updateCommentUseCase = updateCommentUseCase; this.getAllCommentUseCase = getAllCommentUseCase; this.getByIdCommentUseCase = getByIdCommentUseCase; this.getByIdPostUseCase = getByIdPostUseCase; this.getByIdUserUseCase = getByIdUserUseCase; }
public PostController( IAddPostUseCase addPostUseCase, IRemovePostUseCase removePostUseCase, IUpdatePostUseCase updatePostUseCase, IGetAllPostUseCase getAllPostUseCase, IGetByIdPostUseCase getByIdPostUseCase, IGetByIdTopicUseCase getByIdTopicUseCase, IGetByIdUserUseCase getByIdUserUseCase) { this.addPostUseCase = addPostUseCase; this.removePostUseCase = removePostUseCase; this.updatePostUseCase = updatePostUseCase; this.getAllPostUseCase = getAllPostUseCase; this.getByIdPostUseCase = getByIdPostUseCase; this.getByIdTopicUseCase = getByIdTopicUseCase; this.getByIdUserUseCase = getByIdUserUseCase; }
public TopicController( IAddTopicUseCase addTopicUseCase, IGetAllTopicUseCase getAllTopicUseCase, IGetByIdTopicUseCase getByIdTopicUseCase, IUpdateTopicUseCase updateTopicUseCase, IRemoveTopicUseCase removeTopicUseCase, IGetByIdCategoryUseCase getByIdCategoryUseCase, IGetByIdUserUseCase getByIdUserUseCase ) { this.addTopicUseCase = addTopicUseCase; this.getAllTopicUseCase = getAllTopicUseCase; this.getByIdTopicUseCase = getByIdTopicUseCase; this.updateTopicUseCase = updateTopicUseCase; this.removeTopicUseCase = removeTopicUseCase; this.getByIdCategoryUseCase = getByIdCategoryUseCase; this.getByIdUserUseCase = getByIdUserUseCase; }
public GetByIdUserFlow(IGetByIdUserUseCase getByIdUserUseCase) { _getByIdUserUseCase = getByIdUserUseCase; }