First code upload
This commit is contained in:
13
TestAPI/WeatherForecast.cs
Normal file
13
TestAPI/WeatherForecast.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
namespace TestAPI
|
||||
{
|
||||
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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user