public OrganizationCMSService(IDomainManagerService domainManagerService,
                               IIdentityService identityService,
                               IOrganizationRepository organizationRepository,
                               IOrganizationCMSRepository organizationCMSRepository,
                               IUserRepository userRepository,
                               IDataProtectorService dataProtectorService)
 {
     _domainManagerService      = domainManagerService;
     _identityService           = identityService;
     _organizationRepository    = organizationRepository;
     _organizationCMSRepository = organizationCMSRepository;
     _userRepository            = userRepository;
     _dataProtectorService      = dataProtectorService;
 }
Beispiel #2
0
 public OrganizationCMSQueryService(IDomainManagerService domainManagerService,
                                    IIdentityService identityService,
                                    IOrganizationCMSRepository organizationCMSRepository,
                                    IUserRepository userRepository,
                                    Func <ConfigurationManagementService, ICMSCredentialService> cmsCredentialService,
                                    Func <ConfigurationManagementService, ICMSQueryService> cmsQueryService,
                                    IDataProtectorService dataProtectorService)
 {
     _domainManagerService      = domainManagerService;
     _identityService           = identityService;
     _organizationCMSRepository = organizationCMSRepository;
     _userRepository            = userRepository;
     _cmsQueryService           = cmsQueryService;
     _cmsCredentialService      = cmsCredentialService;
     _dataProtectorService      = dataProtectorService;
 }
 public OrganizationService(IDomainManagerService domainManagerService,
                            IIdentityService identityService,
                            IOrganizationRepository organizationRepository,
                            IProjectRepository projectRepository,
                            IProjectFeatureRepository projectFeatureRepository,
                            IOrganizationCPSRepository organizationCPSRepository,
                            IOrganizationCMSRepository organizationCMSRepository,
                            IUserRepository userRepository,
                            IEventBusService eventBusService,
                            IActivityMonitorService activityMonitorService,
                            IDataProtectorService dataProtectorService)
 {
     _domainManagerService      = domainManagerService;
     _identityService           = identityService;
     _organizationRepository    = organizationRepository;
     _projectRepository         = projectRepository;
     _projectFeatureRepository  = projectFeatureRepository;
     _organizationCPSRepository = organizationCPSRepository;
     _organizationCMSRepository = organizationCMSRepository;
     _userRepository            = userRepository;
     _eventBusService           = eventBusService;
     _correlationId             = activityMonitorService.GetCorrelationId();
     _dataProtectorService      = dataProtectorService;
 }