/// <summary>
 /// Class Constructor
 /// </summary>
 /// <param name="linksRepository">IoC resolution for our Repository class.</param>
 public SeatApiController(IPartnerService partnerService,
                          ILogger <PartnerApiController> logger,
                          IUserDataService userDataService,
                          ISubscriptionService subscriptionService,
                          ILicenceEnvironmentService licenceEnvironmentService,
                          IMemoryCache cache,
                          IDeviceTypeDictionaryService deviceTypeDictionaryService,
                          IDeviceModelDictionaryService deviceModelDictionaryService,
                          IEKeyService eKeyService,
                          IEnterpriseClientService enterpriseClientService,
                          IUserService userService)
 {
     _partnerService               = partnerService;
     _logger                       = logger;
     _userDataService              = userDataService;
     _subscriptionService          = subscriptionService;
     _licenceEnvironmentService    = licenceEnvironmentService;
     _deviceTypeDictionaryService  = deviceTypeDictionaryService;
     _deviceModelDictionaryService = deviceModelDictionaryService;
     _cache                   = cache;
     _eKeyService             = eKeyService;
     _userService             = userService;
     _enterpriseClientService = enterpriseClientService;
     _configuration           = CommonHelper.GetConfigurationObject();
     FillCache();
 }
示例#2
0
 public ReportApiController(ISubscriptionService subscriptionService,
                            ILicenceEnvironmentService licenceEnvironmentService,
                            IReportService reportService,
                            IUsageReportService usageReportService,
                            IDeviceOSReportService deviceOSReportService,
                            ISeatDetailsReportService seatDetailsReportService,
                            IUserDataService userDataService,
                            IDeviceManufacturerReportService deviceManufacturerReportService,
                            IDeviceTypeReportService deviceTypeReportService,
                            IProductService productService,
                            ILogger <ReportApiController> logger,
                            IEnterpriseClientService enterpriseClientService,
                            IPartnerService partnerService,
                            IDeviceTypeDictionaryService deviceTypeDictionaryService,
                            IDeviceModelDictionaryService deviceModelDictionaryService,
                            IMemoryCache cache,
                            ISubscriptionAuthService subscriptionAuthService,
                            IReportProcessorRunService reportProcessorRunService,
                            IReportProcessor reportProcessor,
                            ILogger <ReportProvider> reportLogger,
                            IUserService userService)
 {
     _subscriptionService             = subscriptionService;
     _licenceEnvironmentService       = licenceEnvironmentService;
     _reportService                   = reportService;
     _usageReportService              = usageReportService;
     _deviceOSReportService           = deviceOSReportService;
     _seatDetailsReportService        = seatDetailsReportService;
     _userDataService                 = userDataService;
     _deviceManufacturerReportService = deviceManufacturerReportService;
     _deviceTypeReportService         = deviceTypeReportService;
     _productService                  = productService;
     _logger = logger;
     _enterpriseClientService      = enterpriseClientService;
     _partnerService               = partnerService;
     _deviceTypeDictionaryService  = deviceTypeDictionaryService;
     _deviceModelDictionaryService = deviceModelDictionaryService;
     _cache = cache;
     _subscriptionAuthService   = subscriptionAuthService;
     _reportProcessorRunService = reportProcessorRunService;
     _reportProcessor           = reportProcessor;
     _reportLogger  = reportLogger;
     _configuration = CommonHelper.GetConfigurationObject();
     _userService   = userService;
     FillCache();
 }