/// <summary> /// Initializes a new instance of the <see cref="DataSourceController" /> class. /// </summary> /// <param name="mapper">The mapper which is used to convert the resources to the models to the resource results.</param> /// <param name="dataSourceModelService">The data source model service which is used to communicate with the logic layer.</param> /// <param name="fileService">The file service which is used to communicate with the logic layer.</param> /// <param name="fileUploader">The file uploader service which is used for uploading files.</param> /// <param name="dataProviderService">The data provider service which is used to communicate with the logic layer.</param> /// <param name="indexOrderHelper">The index order helper, helps validating the index order of the wizard pages.</param> /// <param name="wizardPageService">The wizard page service which is used to communicate with the logic layer.</param> public DataSourceController(IMapper mapper, IDataSourceModelService dataSourceModelService, IFileService fileService, IFileUploader fileUploader, IDataProviderService dataProviderService, IIndexOrderHelper <int> indexOrderHelper, IWizardPageService wizardPageService) { this.mapper = mapper; this.dataSourceModelService = dataSourceModelService; this.fileService = fileService; this.fileUploader = fileUploader; this.dataProviderService = dataProviderService; this.indexOrderHelper = indexOrderHelper; this.wizardPageService = wizardPageService; }
/// <summary> /// Initializes a new instance of the <see cref="WizardPageController" /> class. /// </summary> /// <param name="mapper">The mapper which is used to convert the resources to the models to the resource results.</param> /// <param name="wizardPageService">The wizard page service which is used to communicate with the logic layer.</param> public WizardPageController(IMapper mapper, IWizardPageService wizardPageService) { this.mapper = mapper; this.wizardPageService = wizardPageService; }