My 1st commit

This commit is contained in:
2023-08-30 17:13:05 +02:00
commit 9bac635d24
8 changed files with 607 additions and 0 deletions

12
WeatherForecast.cs Normal file
View File

@@ -0,0 +1,12 @@
namespace my_weather_api;
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; }
}