040c416f14
Co-authored-by: haraldnilsen <harald_998@hotmail.com>
12 lines
244 B
C#
12 lines
244 B
C#
namespace backend;
|
|
|
|
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; }
|
|
}
|