diff options
| Commit | 648d50c387e7ee3976bd673594ed10901075475f (patch) | |
|---|---|---|
| Author | 2020-12-07 22:39:49 +0200 | |
| Committer | 2020-12-07 22:39:49 +0200 | |
| Files | b3a0f754ca398c65afc847ea4049cad21398a0ab /API/WeatherForecast.cs | |
| DevHive-648d50c387e7ee3976bd673594ed10901075475f.tar DevHive-648d50c387e7ee3976bd673594ed10901075475f.tar.gz DevHive-648d50c387e7ee3976bd673594ed10901075475f.zip | ||
| Parent | c5dc3763babe083c88dbc927f996fb1bdda80359 (diff) | |
API folder fixed
1 files changed, 15 insertions, 0 deletions
| -rw-r--r-- | API/WeatherForecast.cs | 15 |
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; }
+ }
+}
|
