Beispiel #1
0
 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;
 }
Beispiel #2
0
        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;
            }
        }
Beispiel #3
0
 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;
 }
Beispiel #5
0
 public MonitoringService(WorkFlowPostgreSqlContext dbcontext,
                          IConfiguration configuration)
 {
     _dbcontext     = dbcontext;
     _configuration = configuration;
 }