mirror-ac/server/WeatherForecast.cs
lhodges1 eaf4ec7510 e
2023-08-24 23:12:49 +10:00

13 lines
No EOL
272 B
C#

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