aswi20220x00-gitlab/Backend/Backend/WeatherForecast.cs @ 68d7a219
1 |
namespace Backend |
---|---|
2 |
{
|
3 |
public class WeatherForecast |
4 |
{
|
5 |
public DateTime Date { get; set; } |
6 |
|
7 |
public int TemperatureC { get; set; } |
8 |
|
9 |
public int TemperatureF => 32 + (int)(TemperatureC / 0.5556); |
10 |
|
11 |
public string? Summary { get; set; } |
12 |
}
|
13 |
}
|