@@ -6,6 +6,7 @@ namespace LearningHub.Nhs.WebUI.Controllers
66 using System . Linq ;
77 using System . Net . Http ;
88 using System . Threading . Tasks ;
9+ using elfhHub . Nhs . Models . Common ;
910 using LearningHub . Nhs . Models . Content ;
1011 using LearningHub . Nhs . Models . Enums . Content ;
1112 using LearningHub . Nhs . Models . Extensions ;
@@ -20,6 +21,7 @@ namespace LearningHub.Nhs.WebUI.Controllers
2021 using Microsoft . AspNetCore . Diagnostics ;
2122 using Microsoft . AspNetCore . Hosting ;
2223 using Microsoft . AspNetCore . Mvc ;
24+ using Microsoft . Extensions . Configuration ;
2325 using Microsoft . Extensions . Logging ;
2426 using Microsoft . Extensions . Options ;
2527 using Microsoft . FeatureManagement ;
@@ -52,6 +54,7 @@ public class HomeController : BaseController
5254 /// <param name="dashboardService">Dashboard service.</param>
5355 /// <param name="contentService">Content service.</param>
5456 /// <param name="featureManager"> featureManager.</param>
57+ /// <param name="configuration"> config.</param>
5558 public HomeController (
5659 IHttpClientFactory httpClientFactory ,
5760 IWebHostEnvironment hostingEnvironment ,
@@ -62,7 +65,8 @@ public HomeController(
6265 LearningHubAuthServiceConfig authConfig ,
6366 IDashboardService dashboardService ,
6467 IContentService contentService ,
65- IFeatureManager featureManager )
68+ IFeatureManager featureManager ,
69+ Microsoft . Extensions . Configuration . IConfiguration configuration )
6670 : base ( hostingEnvironment , httpClientFactory , logger , settings . Value )
6771 {
6872 this . authConfig = authConfig ;
@@ -71,6 +75,7 @@ public HomeController(
7175 this . dashboardService = dashboardService ;
7276 this . contentService = contentService ;
7377 this . featureManager = featureManager ;
78+ this . configuration = configuration ;
7479 }
7580
7681 /// <summary>
0 commit comments