added api

This commit is contained in:
2025-06-16 16:32:06 -04:00
parent 910f4f4529
commit a7992b6987
11 changed files with 247 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
namespace Astrocore.Api
{
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; }
}
}