h4-projekt-gruppe-0-sm/API/WeatherForecast.cs
github-classroom[bot] d79b183027 Initial commit
2025-01-21 11:00:40 +01: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; }
}
}