This repository has been archived on 2024-12-07. You can view files and clone it, but cannot push or open issues or pull requests.
Cinemateket/backend/WeatherForecast.cs
Sindre Kjelsrud 040c416f14 🧱 added new template for api-endpoint
Co-authored-by: haraldnilsen <harald_998@hotmail.com>
2023-09-13 10:37:53 +02:00

12 lines
244 B
C#

namespace backend;
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; }
}