public CommentsController(ICommentRepository commentRepository, IFetchPostService fetchPostService, IUserRepository userRepository, CommentResponseMapper commentResponseMapper) { _userRepository = userRepository; _commentResponseMapper = commentResponseMapper; _commentRepository = commentRepository; _fetchPostService = fetchPostService; }
public PostsController(IFetchPostService fetchPostService, IBoardRepository boardRepository, ICommentRepository commentRepository, PostResponseMapper postResponseMapper) { _fetchPostService = fetchPostService; _boardRepository = boardRepository; _commentRepository = commentRepository; _postResponseMapper = postResponseMapper; }
public UserController(IUserRepository userRepository, ICommentRepository commentRepository, UserResponseMapper userResponseMapper, CommentResponseMapper commentResponseMapper, PostResponseMapper postResponseMapper, IFetchPostService fetchPostService) { _userRepository = userRepository; _commentRepository = commentRepository; _userResponseMapper = userResponseMapper; _commentResponseMapper = commentResponseMapper; _postResponseMapper = postResponseMapper; _fetchPostService = fetchPostService; }