You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
275 B
C#
13 lines
275 B
C#
2 years ago
|
namespace WebMVCApi
|
||
|
{
|
||
|
public class WeatherForecast
|
||
|
{
|
||
|
public DateTime Date { get; set; }
|
||
|
|
||
|
public int TemperatureC { get; set; }
|
||
|
|
||
|
public int TemperatureF => 32 + (int)(TemperatureC / 0.5556);
|
||
|
|
||
|
public string? Summary { get; set; }
|
||
|
}
|
||
|
}
|