public PostController(IPostRepository postRepository, ICategoryRepository categoryRepository, ISubscriptionRepository subscriptionRepository, IPostReactionRepository postReactionRepository, IReactionRepository reactionRepository, ITagRepository tagRepository)
 {
     _postRepository         = postRepository;
     _categoryRepository     = categoryRepository;
     _tagRepository          = tagRepository;
     _subscriptionRepository = subscriptionRepository;
     _postReactionRepository = postReactionRepository;
     _reactionRepository     = reactionRepository;
 }
Ejemplo n.º 2
0
 public PostReactionService(IPostReactionRepository postReactionRepo)
 {
     _postReactionRepo = postReactionRepo;
 }
 public ReactionController(IPostReactionRepository postReactionRepository, IReactionRepository reactionRepository)
 {
     _postReactionRepository = postReactionRepository;
     _reactionRepository     = reactionRepository;
 }
Ejemplo n.º 4
0
 public ReactionController(IPostReactionRepository postReactionRepository, IReactionRepository reactionRepository, IUserProfileRepository userProfileRepository)
 {
     _reactionRepository     = reactionRepository;
     _postReactionRepository = postReactionRepository;
     _userProfileRepository  = userProfileRepository;
 }