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;
|
private readonly IForecastService forecastService;
|
||||||
|
|
||||||
public HomeController(IForecastService forecastService)
|
public HomeController(IForecastService forecastService) => this.forecastService = forecastService;
|
||||||
{
|
|
||||||
this.forecastService = forecastService;
|
|
||||||
}
|
|
||||||
|
|
||||||
public async Task<IActionResult> Index()
|
public async Task<IActionResult> Index()
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user