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