public ActicleCommentService(IArticleCommentRepository articleDal, IArticleRepository articleRepository, IMessageRemindRepository messageRemindRepository, IArticleLikeRepository articleLikeRepository, IArticleReplyCommentRepository articleReplyCommentRepository)
 {
     _acticleCommentRepository = articleDal;
     _articleRepository = articleRepository;
     _messageRemindRepository = messageRemindRepository;
     _articleLikeRepository = articleLikeRepository;
     _articleReplyCommentRepository = articleReplyCommentRepository;
 }
Esempio n. 2
0
 public ArticleService(IUnitOfWork unitOfWork, IArticleRepository repository,
                       IArticleLikeRepository articleLikeRepository, ISavedArticlesRepository savedArtRepo) : base(unitOfWork, repository)
 {
     _repository      = repository;
     _unitOfWork      = unitOfWork;
     _articleLikeRepo = articleLikeRepository;
     _savedArtRepo    = savedArtRepo;
 }
Esempio n. 3
0
 public ArticleAppService(IArticleRepository repository,
                          IArticleContentRepository articleContentRepository,
                          IArticleFavoriteRepository articleFavoriteRepository,
                          IArticleLikeRepository articleLikeRepository,
                          IArticleCommonAppService articleCommonAppService)
 {
     _repository = repository;
     _articleContentRepository  = articleContentRepository;
     _articleFavoriteRepository = articleFavoriteRepository;
     _articleLikeRepository     = articleLikeRepository;
     _articleCommonAppService   = articleCommonAppService;
 }
Esempio n. 4
0
 public ArticleLikeService(IArticleLikeRepository articleLikeRepository)
 {
     _articleLikeRepository = articleLikeRepository;
 }
Esempio n. 5
0
 public ArticleLikeService(IArticleLikeRepository articleLikeRepository,
                           IArticleService articleService)
 {
     _articleLikeRepository = articleLikeRepository;
     _articleService        = articleService;
 }