diff --git a/WeatherDashboard.Web/Controllers/HomeController.cs b/WeatherDashboard.Web/Controllers/HomeController.cs index c0d6b2e..387c529 100644 --- a/WeatherDashboard.Web/Controllers/HomeController.cs +++ b/WeatherDashboard.Web/Controllers/HomeController.cs @@ -7,10 +7,7 @@ namespace WeatherDashboard.Web.Controllers { private readonly IForecastService forecastService; - public HomeController(IForecastService forecastService) - { - this.forecastService = forecastService; - } + public HomeController(IForecastService forecastService) => this.forecastService = forecastService; public async Task Index() {