public DocumentService( IDocumentRepository documentsRepository, IDocumentContentService documentContentService, IDocumentCollaboratorService collaboratorsService, IMappingEngine mapper) { _documentsRepository = documentsRepository; _documentContentService = documentContentService; _collaboratorsService = collaboratorsService; _mapper = mapper; }
/// <summary> /// Constructor. /// </summary> /// <param name="collaboratorService">Collaborators services.</param> /// <param name="contentService">Documents content service.</param> public DocumentsHub(IDocumentCollaboratorService collaboratorService, IDocumentContentService contentService) { _collaboratorService = collaboratorService; _contentService = contentService; }
public DocumentContentController(IDocumentService documentService, IDocumentContentService contentService) { _documentService = documentService; _contentService = contentService; }