clean up home controller
This commit is contained in:
parent
780ca056ec
commit
5cc7965400
@ -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<IActionResult> Index()
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user