summaryrefslogtreecommitdiff
path: root/WeatherForecast.cs
diff options
context:
space:
mode:
authorHombreLaser <sebastian-440@live.com>2022-11-14 18:10:28 -0600
committerHombreLaser <sebastian-440@live.com>2022-11-14 18:10:28 -0600
commit2aab17e0d231d8ab539fd6471642e159e260e43b (patch)
tree4f1a4e403bbbad732957b792c5b2fd7cc6ca1a9c /WeatherForecast.cs
Commit inicial
Diffstat (limited to 'WeatherForecast.cs')
-rw-r--r--WeatherForecast.cs12
1 files changed, 12 insertions, 0 deletions
diff --git a/WeatherForecast.cs b/WeatherForecast.cs
new file mode 100644
index 0000000..8d1e518
--- /dev/null
+++ b/WeatherForecast.cs
@@ -0,0 +1,12 @@
+namespace IdentityAPI;
+
+public class WeatherForecast
+{
+ public DateOnly Date { get; set; }
+
+ public int TemperatureC { get; set; }
+
+ public int TemperatureF => 32 + (int)(TemperatureC / 0.5556);
+
+ public string? Summary { get; set; }
+}