From fa0b0e992d363f41bdb8cda00ef59c0142c97246 Mon Sep 17 00:00:00 2001 From: transtrike Date: Tue, 8 Dec 2020 10:35:50 +0200 Subject: Added 3rd project and references --- API/API.code-workspace | 19 +++++++++++++++++++ API/API.csproj | 4 ++++ API/Controllers/WeatherForecastController.cs | 3 +-- 3 files changed, 24 insertions(+), 2 deletions(-) create mode 100644 API/API.code-workspace (limited to 'API') diff --git a/API/API.code-workspace b/API/API.code-workspace new file mode 100644 index 0000000..875e3c8 --- /dev/null +++ b/API/API.code-workspace @@ -0,0 +1,19 @@ +{ + "folders": [ + { + "path": "." + } + ], + "settings": { + "files.exclude": { + "**/.vscode": true, + "**/bin": true, + "**/obj": true, + ".gitignore" : true, + "**/README.md" : true, + "**/LICENSE" : true, + "**/Properties" : true, + "**/*.code-workspace" : true + } + } +} \ No newline at end of file diff --git a/API/API.csproj b/API/API.csproj index dcc653c..5c04910 100644 --- a/API/API.csproj +++ b/API/API.csproj @@ -11,4 +11,8 @@ + + + + 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 _logger; private static readonly string[] Summaries = new[] { "Freezing", "Bracing", "Chilly", "Cool", "Mild", "Warm", "Balmy", "Hot", "Sweltering", "Scorching" }; - private readonly ILogger _logger; - public WeatherForecastController(ILogger logger) { _logger = logger; -- cgit v1.2.3