/// <summary> /// Constructor /// </summary> /// <param name="tagRepository"></param> /// <param name="topicRepository"></param> /// <param name="categoryService"></param> public TopicTagService(ITopicTagRepository tagRepository, ITopicRepository topicRepository, ICategoryService categoryService, IBadgeService badgeService) { _tagRepository = tagRepository; _topicRepository = topicRepository; _categoryService = categoryService; _badgeService = badgeService; }
public TopicService(IMapper mapper, ITopicRepository repository, ForumDbContext forumDbContext, ITopicTagRepository topicTagRepository, ITagRepository tagRepository, ICategoryRepository categoryRepository) { _mapper = mapper; _forumDbContext = forumDbContext; _repository = repository; _topicTagRepository = topicTagRepository; _tagRepository = tagRepository; _categoryRepository = categoryRepository; }
public TopicTagService(ITopicTagRepository topicTagRepository, IUnitOfWork uow) { _topicTagRepository = topicTagRepository; _uow = uow; }
/// <summary> /// Constructor /// </summary> /// <param name="tagRepository"></param> public TopicTagService(ITopicTagRepository tagRepository, ITopicRepository topicRepository) { _tagRepository = tagRepository; _topicRepository = topicRepository; }
public TopicTagService(IMapper mapper, ITopicTagRepository repository) { _mapper = mapper; _repository = repository; }