initial commit - api
This commit is contained in:
13
house-plant-api/WeatherForecast.cs
Normal file
13
house-plant-api/WeatherForecast.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
namespace house_plant_api
|
||||
{
|
||||
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