public ArticleAppService(IArticleRepository repository, IArticleContentRepository articleContentRepository, IArticleFavoriteRepository articleFavoriteRepository, IArticleLikeRepository articleLikeRepository, IArticleCommonAppService articleCommonAppService) { _repository = repository; _articleContentRepository = articleContentRepository; _articleFavoriteRepository = articleFavoriteRepository; _articleLikeRepository = articleLikeRepository; _articleCommonAppService = articleCommonAppService; }
public ArticleBusiness( IArticleRepository articleRepository, IArticleContentRepository articleContentRepository, IArticleTagRepository articleTagRepository, IArticleCategoryRepository articleCategoryRepository, ITagRepository tagRepository, ICategoryRepository categoryRepository ) { BaseRepository = articleRepository; _articleRepository = articleRepository; _articleContentRepository = articleContentRepository; _articleTagRepository = articleTagRepository; _articleCategoryRepository = articleCategoryRepository; _tagRepository = tagRepository; _categoryRepository = categoryRepository; }