summaryrefslogtreecommitdiff
path: root/WeatherForecast.cs
diff options
context:
space:
mode:
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; }
+}