예제 #1
0
 /// <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;
 }
예제 #2
0
 /// <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;
 }
예제 #4
0
 public TopicTagService(ITopicTagRepository topicTagRepository, IUnitOfWork uow)
 {
     _topicTagRepository = topicTagRepository;
     _uow = uow;
 }
예제 #5
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="tagRepository"></param>
 public TopicTagService(ITopicTagRepository tagRepository, ITopicRepository topicRepository)
 {
     _tagRepository = tagRepository;
     _topicRepository = topicRepository;
 }
예제 #6
0
 public TopicTagService(IMapper mapper, ITopicTagRepository repository)
 {
     _mapper     = mapper;
     _repository = repository;
 }