Пример #1
0
 public CommentController(IGetCommentsModule getCommentsModule, IAddCommentsModule addCommentsModule, IUpdateCommentModule updateCommentModule, IAutoBanModule autoBanModule)
 {
     _getCommentsModule   = getCommentsModule;
     _addCommentsModule   = addCommentsModule;
     _updateCommentModule = updateCommentModule;
     _autoBanModule       = autoBanModule;
 }
Пример #2
0
 public PostController(IGetPostsModule getPostsModule,
                       IAddPostModule addPostModule,
                       IGetRandomPostModule getRandomPostModule,
                       IPostUpdateModule postUpdateModule,
                       IUpdatePostModule updatePostModule,
                       IAutoBanModule autoBanModule)
 {
     _getPostsModule      = getPostsModule;
     _addPostModule       = addPostModule;
     _postUpdateModule    = postUpdateModule;
     _getRandomPostModule = getRandomPostModule;
     _updatePostModule    = updatePostModule;
     _autoBanModule       = autoBanModule;
 }