PIbd-22_Isaeva_A.I._FishFac.../FishFactoryRestApi/WeatherForecast.cs

14 lines
285 B
C#
Raw Normal View History

2024-04-17 11:28:47 +04:00
namespace FishFactoryRestApi
{
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; }
}
}