public PartTypeController(ILogger <PartTypeController> logger, WebHostServiceConfiguration config, IPartTypeService partTypeService, IPartService partService) { _logger = logger; _config = config; _partTypeService = partTypeService; _partService = partService; }
public WebFrameworkServiceBinder( IDomainService domainService, IClientAssetConfigService clientAssetConfigService, IClientAssetService clientAssetService, IClientAssetTypeService clientAssetTypeService, IPageService pageService, IPageTemplateService pageTemplateService, IPageTemplateZoneMapService pageTemplateZoneMapService, IPageZoneService pageZoneService, IPartService partService, IPartTypeService partTypeService, ISeoDecoratorService seoDecoratorService, IUserService userService, IPartContainerService partContainerService) { this.domainService = domainService; this.clientAssetConfigService = clientAssetConfigService; this.clientAssetService = clientAssetService; this.clientAssetTypeService = clientAssetTypeService; this.pageService = pageService; this.pageTemplateService = pageTemplateService; this.pageTemplateZoneMapService = pageTemplateZoneMapService; this.pageZoneService = pageZoneService; this.partService = partService; this.partTypeService = partTypeService; this.seoDecoratorService = seoDecoratorService; this.userService = userService; this.partContainerService = partContainerService; }
/// <summary> /// Initializes a new instance of the <see cref="WebFrameworkController"/> class. /// </summary> /// <param name="domainService"> /// The domain service. /// </param> /// <param name="clientAssetTypeService"> </param> /// <param name="pageService"> /// The page service. /// </param> /// <param name="pageTemplateService"> /// The page template service. /// </param> /// <param name="pageTemplateZoneMapService"> /// The page template zone map service. /// </param> /// <param name="pageZoneService"> /// The page zone service. /// </param> /// <param name="partService"> /// The part service. /// </param> /// <param name="partTypeService"> /// The part type service. /// </param> /// <param name="seoDecoratorService"> /// The seo decorator service. /// </param> /// <param name="userService"> /// The user service. /// </param> /// <param name="clientAssetConfigService"> </param> /// <param name="clientAssetService"> </param> /// <param name="partContainerService"> </param> public WebFrameworkController( IDomainService domainService, IClientAssetConfigService clientAssetConfigService, IClientAssetService clientAssetService, IClientAssetTypeService clientAssetTypeService, IPageService pageService, IPageTemplateService pageTemplateService, IPageTemplateZoneMapService pageTemplateZoneMapService, IPageZoneService pageZoneService, IPartService partService, IPartTypeService partTypeService, ISeoDecoratorService seoDecoratorService, IUserService userService, IPartContainerService partContainerService) { this.modelBinder = new WebFrameworkServiceBinder( domainService, clientAssetConfigService, clientAssetService, clientAssetTypeService, pageService, pageTemplateService, pageTemplateZoneMapService, pageZoneService, partService, partTypeService, seoDecoratorService, userService, partContainerService); }
public PartController(ILogger <PartController> logger, WebHostServiceConfiguration config, IPartService partService, IPartTypeService partTypeService, IProjectService projectService, ILabelPrinter labelPrinter, IBarcodeGenerator barcodeGenerator) { _logger = logger; _config = config; _partService = partService; _partTypeService = partTypeService; _projectService = projectService; _labelPrinter = labelPrinter; _barcodeGenerator = barcodeGenerator; }
/// <summary> /// Initializes a new instance of the <see cref="PageDefinitionServiceBinder"/> class. /// </summary> /// <param name="pageService"> /// The page service. /// </param> /// <param name="pageTemplateService"> /// The page template service. /// </param> public PageDefinitionServiceBinder( IPageService pageService, IPageTemplateService pageTemplateService, IPageTemplateZoneMapService templateZoneMapService, IPartService partService, IPartTypeService partTypeService) { this.pageService = pageService; this.pageTemplateService = pageTemplateService; this.templateZoneMapService = templateZoneMapService; this.partService = partService; this.partTypeService = partTypeService; }
/// <summary> /// The initialize services. /// </summary> private void InitializeServices() { this.pageService = new PageService(this.pageRepositoryMock.Object, new Mock<IUnitOfWork>().Object); this.pageTemplateService = new PageTemplateService(this.pageTemplateRepositoryMock.Object, new Mock<IUnitOfWork>().Object); this.pageControllerActionService = new PageControllerActionService(this.pageControllerRepositoryActionMock.Object, new Mock<IUnitOfWork>().Object); this.partTypeService = new PartTypeService(this.partTypeRepositoryMock.Object, new Mock<IUnitOfWork>().Object); this.partService = new PartService(this.partRepositoryMock.Object, new Mock<IUnitOfWork>().Object); this.seoDecoratorService = new SeoDecoratorService(this.seoDecoratorRepositoryMock.Object, new Mock<IUnitOfWork>().Object); this.rolePageRestrictionService = new RolePageRestrictionService(this.rolePageRestrictionRepositoryMock.Object, new Mock<IUnitOfWork>().Object); }
/// <summary> /// Initializes a new instance of the <see cref="CmsPageManagerController"/> class. /// </summary> /// <param name="pageService"> /// The page service. /// </param> /// <param name="pageTemplateService"> /// The page Template Service. /// </param> /// <param name="pageControllerActionService"> /// The page Controller Action Service. /// </param> /// <param name="partTypeService"> /// The part Type Service. /// </param> /// <param name="partService"> /// The part Service. /// </param> /// <param name="seoDecoratorService">the seo decorator service</param> public CmsPageManagerController( IPageService pageService, IPageTemplateService pageTemplateService, IPageControllerActionService pageControllerActionService, IPartTypeService partTypeService, IPartService partService, ISeoDecoratorService seoDecoratorService, IRoleService roleService, IRolePageRestrictionService rolePageRestrictionService) { this.pageService = pageService; this.seoDecoratorService = seoDecoratorService; this.pageTemplateService = pageTemplateService; this.pageControllerActionService = pageControllerActionService; this.partTypeService = partTypeService; this.partService = partService; this.seoDecoratorService = seoDecoratorService; this.roleService = roleService; this.rolePageRestrictionService = rolePageRestrictionService; this.ViewBag.AddInfo = "AdditionalInfo"; }