From 5cc7965400ce79dce89c6a5e9e32108bd30bccf4 Mon Sep 17 00:00:00 2001 From: Ryan Peters Date: Sat, 18 Mar 2023 22:27:34 -0400 Subject: [PATCH] clean up home controller --- WeatherDashboard.Web/Controllers/HomeController.cs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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() {