public CreateArticleTagHandle(
     IArticleTagRepository articleTagRepository,
     IUserRepository userRepository
     )
 {
     _articleTagRepository = articleTagRepository;
     _userRepository       = userRepository;
 }
Example #2
0
 public TagController(
     ITagRepository tagRepository,
     IArticleTagRepository atRepository
 )
 {
     _tagRepository = tagRepository;
     _atRepository = atRepository;
 }
 public ArticleTagController(
     IRepositoryFactory repositoryFactory,
     IMapper mapper,
     IErrorText errorGenerator)
 {
     _repositoryFactory = repositoryFactory;
     _repository        = _repositoryFactory.ArticleTagRepository;
     _mapper            = mapper;
     _errorGenerator    = errorGenerator;
 }
Example #4
0
 public UpdateArticleHandle(
     IArticleRepository articleRepository,
     IArticleTagRepository articleTagRepository,
     IArticleTypeRepository articleTypeRepository,
     IUserRepository userRepository)
 {
     _articleRepository     = articleRepository;
     _articleTagRepository  = articleTagRepository;
     _articleTypeRepository = articleTypeRepository;
     _userRepository        = userRepository;
 }
Example #5
0
 public ArticleService(IUnitOfWork uow,
                       IArticleRepository articleRepository,
                       IArticleTagRepository articleTagRepository,
                       IArticleTagService articleTagService,
                       IArticleCategoryService articleCategoryService,
                       ITagRepository tagRepository, IUrlHelper urlHelper)
     : base(articleRepository)
 {
     _articleRepository      = articleRepository;
     _articleTagRepository   = articleTagRepository;
     _articleTagService      = articleTagService;
     _tagRepository          = tagRepository;
     _articleCategoryService = articleCategoryService;
     _unitOfWork             = uow;
     _urlHelper = urlHelper;
 }
 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;
 }
 public ArticleTagService(IArticleTagRepository repository, IArticleRepository articleRepository, ITagRepository tagRepository)
 {
     _repository        = repository;
     _articleRepository = articleRepository;
     _tagRepository     = tagRepository;
 }
 public ArticleTagService(IMapper mapper, IArticleTagRepository repository)
 {
     _mapper     = mapper;
     _repository = repository;
 }
 public UpdateArticleTagHandle(
     IArticleTagRepository articleTagRepository
     )
 {
     _articleTagRepository = articleTagRepository;
 }
Example #10
0
 public DeleteArticleTagHandle(
     IArticleTagRepository articleTagRepository
     )
 {
     _articleTagRepository = articleTagRepository;
 }