Example #1
0
 public SectionController(
     IPageService pageService,
     ISectionService sectionService,
     ISimpleTextService simpleTextService,
     ICollectionService collectionService,
     INodeService nodeService)
 {
     _pageService       = pageService;
     _sectionService    = sectionService;
     _simpleTextService = simpleTextService;
     _collectionService = collectionService;
     _nodeService       = nodeService;
 }
Example #2
0
 public SimpleTextServiceTest()
 {
     _db      = new NocturnoContext(true);
     _service = new SimpleTextService(_db);
 }
Example #3
0
 public SimpleTextController(ISimpleTextService simpleTextService)
 {
     _simpleTextService = simpleTextService;
 }