aboutsummaryrefslogtreecommitdiff
path: root/API/Controllers
diff options
context:
space:
mode:
Diffstat (limited to 'API/Controllers')
-rw-r--r--API/Controllers/WeatherForecastController.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/API/Controllers/WeatherForecastController.cs b/API/Controllers/WeatherForecastController.cs
index 2e4b29d..a90538d 100644
--- a/API/Controllers/WeatherForecastController.cs
+++ b/API/Controllers/WeatherForecastController.cs
@@ -10,13 +10,12 @@ namespace API.Controllers
[Route("[controller]")]
public class WeatherForecastController : ControllerBase
{
+ private readonly ILogger<WeatherForecastController> _logger;
private static readonly string[] Summaries = new[]
{
"Freezing", "Bracing", "Chilly", "Cool", "Mild", "Warm", "Balmy", "Hot", "Sweltering", "Scorching"
};
- private readonly ILogger<WeatherForecastController> _logger;
-
public WeatherForecastController(ILogger<WeatherForecastController> logger)
{
_logger = logger;