skantravels/API/WeatherForecast.cs
2024-08-05 09:00:16 +02:00

14 lines
270 B
C#

namespace 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; }
}
}