summaryrefslogtreecommitdiff
path: root/WeatherForecast.cs
blob: 8d1e5189546e9d00140ce520e4cbc0772d4df39b (plain)
1
2
3
4
5
6
7
8
9
10
11
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; }
}