From 648d50c387e7ee3976bd673594ed10901075475f Mon Sep 17 00:00:00 2001 From: transtrike Date: Mon, 7 Dec 2020 22:39:49 +0200 Subject: API folder fixed --- API/WeatherForecast.cs | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 API/WeatherForecast.cs (limited to 'API/WeatherForecast.cs') diff --git a/API/WeatherForecast.cs b/API/WeatherForecast.cs new file mode 100644 index 0000000..746c136 --- /dev/null +++ b/API/WeatherForecast.cs @@ -0,0 +1,15 @@ +using System; + +namespace API +{ + public class WeatherForecast + { + public DateTime Date { get; set; } + + public int TemperatureC { get; set; } + + public int TemperatureF => 32 + (int)(TemperatureC / 0.5556); + + public string Summary { get; set; } + } +} -- cgit v1.2.3