Exemplo n.º 1
0
 public EnvelopeController(IEnvelopeService service, IExchangeRateService exRateService,
                           IExchangeRateHttpService exRateHttpService, ICurrencyService currService)
 {
     envelopeService         = service;
     exchangeRateService     = exRateService;
     exchangeRateHttpService = exRateHttpService;
     currencyService         = currService;
 }
Exemplo n.º 2
0
 public ProjectController(IProjectService service, IWebHostEnvironment _hostingEnvironment, IConfiguration conf,
                          IExchangeRateHttpService exRatesHttpService, IExchangeRateService exRatesService, ICurrencyService curService,
                          IDataBackupService dataBackupService)
 {
     hostingEnvironment = _hostingEnvironment;
     projectService     = service;
     backupService      = dataBackupService;
     config             = conf;
     ratesService       = exRatesService;
     ratesHttpService   = exRatesHttpService;
     currencyService    = curService;
     projectUrl         = config.GetValue <string>("ProjectUrl");;
     connectionString   = config.GetValue <string>("ConnectionStrings:DefaultConnection");;
 }
Exemplo n.º 3
0
        public ReportController(IReportService service, IExcelGeneratorService eService, IConfiguration config,
                                IExchangeRateHttpService exRatesHttpService, IExchangeRateService exRatesService, ICurrencyService curService,
                                IWebHostEnvironment hostEnvironment)
        {
            reportService      = service;
            excelService       = eService;
            configuration      = config;
            ratesService       = exRatesService;
            ratesHttpService   = exRatesHttpService;
            currencyService    = curService;
            clientUrl          = configuration["ClientUrl"];
            hostingEnvironment = hostEnvironment;

            excelService.SetDirectoryPath(hostingEnvironment.WebRootPath);
        }
Exemplo n.º 4
0
 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;
 }
 public ExchangeRateController(IExchangeRateService service, IExchangeRateHttpService exRatesHttpService)
 {
     this.ratesService     = service;
     this.ratesHttpService = exRatesHttpService;
 }