public ContentRelationController
        (
            ISiteService siteService,
            ISession session,
            IContentRelationRepository contentRelationRepository,
            IAuthorizationService authorizationService,
            IShapeFactory shapeFactory,
            INotifier notifier,
            IStringLocalizer <ContentRelationController> s,
            IHtmlLocalizer <ContentRelationController> h
        )
        {
            _siteService = siteService;
            _session     = session;


            _contentRelationRepository = contentRelationRepository;
            _authorizationService      = authorizationService;

            _notifier = notifier;


            New = shapeFactory;
            S   = s;
            H   = h;
        }
예제 #2
0
 public ContentRelationService(IContentRelationRepository contentRelationRepository)
 {
     _contentRelationRepository = contentRelationRepository;
 }