Esempio n. 1
0
 public CommentsController(ICommentRepository commentRepository,
                           IFetchPostService fetchPostService,
                           IUserRepository userRepository,
                           CommentResponseMapper commentResponseMapper)
 {
     _userRepository        = userRepository;
     _commentResponseMapper = commentResponseMapper;
     _commentRepository     = commentRepository;
     _fetchPostService      = fetchPostService;
 }
Esempio n. 2
0
 public PostsController(IFetchPostService fetchPostService,
                        IBoardRepository boardRepository,
                        ICommentRepository commentRepository,
                        PostResponseMapper postResponseMapper)
 {
     _fetchPostService   = fetchPostService;
     _boardRepository    = boardRepository;
     _commentRepository  = commentRepository;
     _postResponseMapper = postResponseMapper;
 }
Esempio n. 3
0
 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;
 }