コード例 #1
0
ファイル: UserController.cs プロジェクト: IovanB/webforum
 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;
 }
コード例 #2
0
ファイル: CommentController.cs プロジェクト: IovanB/webforum
 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;
 }
コード例 #3
0
ファイル: PostController.cs プロジェクト: IovanB/webforum
 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;
 }
コード例 #4
0
ファイル: TopicController.cs プロジェクト: IovanB/webforum
 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;
 }
コード例 #5
0
 public GetByIdUserFlow(IGetByIdUserUseCase getByIdUserUseCase)
 {
     _getByIdUserUseCase = getByIdUserUseCase;
 }