public ImportDataController(IDataImportService dataImportService, IProjectService projService, IEnvelopeService envpService, IOrganizationTypeService orgTypeService, IExchangeRateService exRateService, IExchangeRateHttpService exRateHttpService, IWebHostEnvironment hostEnvironment, IProjectMembershipService projectMembshipService) { service = dataImportService; projectService = projService; envelopeService = envpService; organizationTypeService = orgTypeService; ratesService = exRateService; ratesHttpService = exRateHttpService; hostingEnvironment = hostEnvironment; service.SetDirectoryPath(hostingEnvironment.WebRootPath); projectMembershipService = projectMembshipService; }