public CommentController(ResolverHelper.LikeServiceResolver likeService, ICommentService commentService) { _likeCommentService = likeService(ConcreteLikeServiceImplementationEnum.Comment); _commentService = commentService; }
public TweetController(ITweetService tweetService, ResolverHelper.LikeServiceResolver likeService) { _tweetService = tweetService; _likeService = likeService(ConcreteLikeServiceImplementationEnum.Tweet); }