public ReactionTypesController( IReactionTypeRepository reactionRepository, IMapper mapper ) { _repository = reactionRepository; _mapper = mapper; }
public ReactionsController( IReactionRepository reactionRepository, IReactionTypeRepository reactionTypeRepository, IPostRepository postRepository, IUserRepository userRepository, IMapper mapper ) { _reactionRepository = reactionRepository; _reactionTypeRepository = reactionTypeRepository; _postRepository = postRepository; _userRepository = userRepository; _mapper = mapper; }