Ejemplo n.º 1
0
 public SectionsController(ISectionService sectionService, INodeService nodeService, ModuleLoader moduleLoader, 
     SectionModelValidator modelValidator, ITemplateService templateService, IModuleTypeService moduleTypeService)
 {
     _sectionService = sectionService;
     _templateService = templateService;
     _moduleTypeService = moduleTypeService;
     _nodeService = nodeService;
     _moduleLoader = moduleLoader;
     ModelValidator = modelValidator;
 }
Ejemplo n.º 2
0
 public SectionsController(ISectionService sectionService, INodeService nodeService, ModuleLoader moduleLoader,
                           SectionModelValidator modelValidator, ITemplateService templateService, IModuleTypeService moduleTypeService)
 {
     _sectionService    = sectionService;
     _templateService   = templateService;
     _moduleTypeService = moduleTypeService;
     _nodeService       = nodeService;
     _moduleLoader      = moduleLoader;
     ModelValidator     = modelValidator;
 }