|
|
|
@ -42,8 +42,7 @@ namespace isn.Controllers
|
|
|
|
|
ILoggerFactory loggerFactory,
|
|
|
|
|
IDataProtectionProvider provider,
|
|
|
|
|
IOptions<NugetSettings> nugetOptions,
|
|
|
|
|
IOptions<UnleashClientSettings> unleashClientSettings,
|
|
|
|
|
IHostingEnvironment env,
|
|
|
|
|
IUnleash unleashĈlient,
|
|
|
|
|
ApplicationDbContext dbContext)
|
|
|
|
|
{
|
|
|
|
|
logger = loggerFactory.CreateLogger<PackagesController>();
|
|
|
|
@ -51,7 +50,7 @@ namespace isn.Controllers
|
|
|
|
|
protector = provider.CreateProtector(nugetSettings.ProtectionTitle);
|
|
|
|
|
this.dbContext = dbContext;
|
|
|
|
|
this.packageManager = packageManager;
|
|
|
|
|
_unleashĈlient = env.CreateUnleahClient(unleashClientSettings.Value);
|
|
|
|
|
_unleashĈlient = unleashĈlient;
|
|
|
|
|
ressources = packageManager.GetResources(_unleashĈlient).ToArray();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|