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; }
public ContentRelationService(IContentRelationRepository contentRelationRepository) { _contentRelationRepository = contentRelationRepository; }