public DocumentsController() { documentManagementService = serviceHandler.GetDocumentManagementService(); headerManagementService = serviceHandler.GetHeaderManagementService(); paragraphManagementService = serviceHandler.GetParagraphManagementService(); footerManagementService = serviceHandler.GetFooterManagementService(); codeGenerator = serviceHandler.GetCodeGeneratorService(); documentLogger = serviceHandler.GetDocumentModificationLogService(); formatManagementService = serviceHandler.GetFormatManagementService(); }
public ParagraphManagementTest() { mockParagraphRepository = new Mock <IParagraphRepository>(); mockDocumentRepository = new Mock <IDocumentRepository>(); mockStyleClassRepository = new Mock <IStyleClassRepository>(); mockContentRepository = new Mock <IContentRepository>(); paragraphLogic = new ParagraphManagementService() { ParagraphRepository = mockParagraphRepository.Object, DocumentRepository = mockDocumentRepository.Object, StyleClassRepository = mockStyleClassRepository.Object, ContentRepository = mockContentRepository.Object }; }
public ParagraphController() { paragraphManagementService = serviceHandler.GetParagraphManagementService(); textManagementService = serviceHandler.GetTextManagementService(); documentLogger = serviceHandler.GetDocumentModificationLogService(); }