public OrderController(OrderManagerClient client, IEntityProvider entityProvider, IKontrollstellenInformer kontrollstellenInformer, IElasticService elasticService, DigitalisierungsbeschraenkungSettings digitalisierungsbeschraenkungSettings, IUserDataAccess userDataAccess) { this.client = client; this.entityProvider = entityProvider; this.kontrollstellenInformer = kontrollstellenInformer; this.elasticService = elasticService; this.digitalisierungsbeschraenkungSettings = digitalisierungsbeschraenkungSettings; this.userDataAccess = userDataAccess; }
public OrderController(IPublicOrder client, IEntityProvider entityProvider, IKontrollstellenInformer kontrollstellenInformer, IElasticService elasticService, DigitalisierungsbeschraenkungSettings digitalisierungsbeschraenkungSettings, IUserDataAccess userDataAccess, VerwaltungsausleiheSettings verwaltungsausleiheSettings, ManagementClientSettings managementClientSettings) { this.client = client; this.entityProvider = entityProvider; this.kontrollstellenInformer = kontrollstellenInformer; this.elasticService = elasticService; this.digitalisierungsbeschraenkungSettings = digitalisierungsbeschraenkungSettings; this.userDataAccess = userDataAccess; this.verwaltungsausleiheSettings = verwaltungsausleiheSettings; this.managementClientSettings = managementClientSettings; }
public FileController(IRequestClient <DownloadAssetRequest, DownloadAssetResult> downloadClient, IRequestClient <GetAssetStatusRequest, GetAssetStatusResult> statusClient, IRequestClient <PrepareAssetRequest, PrepareAssetResult> prepareClient, IDownloadTokenDataAccess downloadTokenDataAccess, IDownloadLogDataAccess downloadLogDataAccess, IElasticService elasticService, IUsageAnalyzer usageAnalyzer, IUserAccessProvider userAccessProvider, ITranslator translator, ICacheHelper cacheHelper, IUserDataAccess userDataAccess, IOrderDataAccess orderDataAccess, IFileDownloadHelper downloadHelper, IKontrollstellenInformer kontrollstellenInformer) { this.usageAnalyzer = usageAnalyzer; this.translator = translator; this.cacheHelper = cacheHelper; this.downloadClient = downloadClient; this.statusClient = statusClient; this.prepareClient = prepareClient; this.downloadTokenDataAccess = downloadTokenDataAccess; this.downloadLogDataAccess = downloadLogDataAccess; this.elasticService = elasticService; this.userDataAccess = userDataAccess; this.orderDataAccess = orderDataAccess; this.downloadHelper = downloadHelper; this.kontrollstellenInformer = kontrollstellenInformer; // Workaround für Unit-Test GetUserAccessFunc = userId => { userId = string.IsNullOrWhiteSpace(userId) ? ControllerHelper.GetCurrentUserId() : userId; var language = WebHelper.GetClientLanguage(Request); return(userAccessProvider.GetUserAccess(language, userId)); }; }