public ArticleService(IUnitOfWork unitOfWork, IArticleRepository repository, IArticleLikeRepository articleLikeRepository, ISavedArticlesRepository savedArtRepo) : base(unitOfWork, repository) { _repository = repository; _unitOfWork = unitOfWork; _articleLikeRepo = articleLikeRepository; _savedArtRepo = savedArtRepo; }
public ArticleService(IArticleRepository articleRepository, IUserRepository userRepository, ICategoryRepository categoryRepository, ISavedArticlesRepository savedArticlesRepository, ICommentRepository commentRepository, IImageRepository imageRepository) { _articleRepository = articleRepository; _userRepository = userRepository; _categoryRepository = categoryRepository; _savedArticlesRepository = savedArticlesRepository; _commentRepository = commentRepository; _imageRepository = imageRepository; }
public SavedArticleService(IUnitOfWork unitOfWork, ISavedArticlesRepository repository) : base(unitOfWork, repository) { _repository = repository; _unitOfWork = unitOfWork; }