示例#1
0
 public TagService(ITagRepository tagRepository, IContentTagMapRepository contentTagMapRepository,
                   IRoutingService routingService)
 {
     _tagRepository           = tagRepository;
     _contentTagMapRepository = contentTagMapRepository;
     _routingService          = routingService;
 }
示例#2
0
 public ContentService(IContentRepository contentRepository, IContentCategoryMapRepository contentCategoryMapRepository,
                       IRoutingService routingService, ICategoryService groupService, IContentTagMapRepository contentTagMapRepository,
                       ITagService tagService)
 {
     _contentCategoryMapRepository = contentCategoryMapRepository;
     _categoryService         = groupService;
     _routingService          = routingService;
     _contentRepository       = contentRepository;
     _contentTagMapRepository = contentTagMapRepository;
     _tagService = tagService;
 }