/// <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();
 }
 /// <summary>
 /// Class Constructor
 /// </summary>
 /// <param name="linksRepository">IoC resolution for our Repository class.</param>
 public LicenceApiController(ISubscriptionService subscriptionService, IEnterpriseClientService enterpriseClientService, IPartnerService partnerService, ILicenceEnvironmentService licenceEnvironmentService, IProductService productService, IUserService userService, ILogger <LicenceApiController> logger)
 {
     _subscriptionService       = subscriptionService;
     _licenceEnvironmentService = licenceEnvironmentService;
     _productService            = productService;
     _logger                  = logger;
     _userService             = userService;
     _enterpriseClientService = enterpriseClientService;
     _partnerService          = partnerService;
 }
예제 #3
0
 /// <summary>
 /// Class Constructor
 /// </summary>
 /// <param name="linksRepository">IoC resolution for our Repository class.</param>
 public EnterpriseClientApiController(IEnterpriseClientService enterpriseClientService,
                                      IPartnerService partnerService,
                                      IUserService userService,
                                      ILogger <EnterpriseClientApiController> logger,
                                      IEKeyService eKeyService)
 {
     _enterpriseClientService = enterpriseClientService;
     _partnerService          = partnerService;
     _userService             = userService;
     _logger        = logger;
     _configuration = CommonHelper.GetConfigurationObject();
     _eKeyService   = eKeyService;
 }
예제 #4
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();
 }
예제 #5
0
 public UserApiController(IEnterpriseClientService enterpriseClientService,
                          IPartnerService partnerService,
                          ISubscriptionService subscriptionService,
                          IUserService userService,
                          UserManager <IdentityUser> userManager,
                          SignInManager <IdentityUser> signInManager,
                          RoleManager <IdentityRole> roleManager,
                          ILogger <UserApiController> logger)
 {
     _enterpriseClientService = enterpriseClientService;
     _partnerService          = partnerService;
     _subscriptionService     = subscriptionService;
     _userService             = userService;
     _userManager             = userManager;
     _signInManager           = signInManager;
     _roleManager             = roleManager;
     _logger        = logger;
     _configuration = CommonHelper.GetConfigurationObject();
 }