public CommentController(IGetCommentsModule getCommentsModule, IAddCommentsModule addCommentsModule, IUpdateCommentModule updateCommentModule, IAutoBanModule autoBanModule) { _getCommentsModule = getCommentsModule; _addCommentsModule = addCommentsModule; _updateCommentModule = updateCommentModule; _autoBanModule = autoBanModule; }
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; }