public DashboardService(WorkFlowPostgreSqlContext dbcontext, IMappingService <DashboardDTO, DB_Dashboard> dashboardMapper, IMappingService <Services.DTOs.Dashboard.WidgetDTO, DB_Widget> widgetMapper, IMappingService <DashboardWidgetDTO, DB_DashboardWidget> dashboardWidgetMapper ) { _dbcontext = dbcontext; _dashboardMapper = dashboardMapper; _widgetMapper = widgetMapper; _dashboardWidgetMapper = dashboardWidgetMapper; }
public GlobalFilterService(IInformationService infoService, WorkFlowPostgreSqlContext dbcontext, IConfiguration configuration) { _infoService = infoService; _dbcontext = dbcontext; _configuration = configuration; var val = _infoService.GetConfiguration("defaultdaterange", "dashboard"); if (val != null) { defaultDateRange = val.Value; } }
public BSIService(IConfiguration configuration, WorkFlowPostgreSqlContext dbcontext) { _dbcontext = dbcontext; _configuration = configuration; if (_authService == null) { _authService = new BSIAuth.OblicoreAuthSoapClient(BSIAuth.OblicoreAuthSoapClient.EndpointConfiguration.OblicoreAuthSoap, _configuration["BSIAuthWebServices"]); } if (_reportService == null) { _reportService = new BSIReports.ReportsSoapClient(BSIReports.ReportsSoapClient.EndpointConfiguration.ReportsSoap, _configuration["BSIReportsWebServices"]); } }
public CatalogKpiMapper(WorkFlowPostgreSqlContext dbcontext) { _dbcontext = dbcontext; }
public MonitoringService(WorkFlowPostgreSqlContext dbcontext, IConfiguration configuration) { _dbcontext = dbcontext; _configuration = configuration; }