示例#1
0
 public ArticleAppService(IArticleRepository repository,
                          IArticleContentRepository articleContentRepository,
                          IArticleFavoriteRepository articleFavoriteRepository,
                          IArticleLikeRepository articleLikeRepository,
                          IArticleCommonAppService articleCommonAppService)
 {
     _repository = repository;
     _articleContentRepository  = articleContentRepository;
     _articleFavoriteRepository = articleFavoriteRepository;
     _articleLikeRepository     = articleLikeRepository;
     _articleCommonAppService   = articleCommonAppService;
 }
示例#2
0
 public ArticleManagementAppService(IArticleRepository repository,
                                    IArticleCommonAppService articleCommonAppService)
 {
     _repository = repository;
     _articleCommonAppService = articleCommonAppService;
 }