ISEbd-21_KashtanovD.A.FishF.../FishFactory/FishFactoryRestApi/WeatherForecast.cs
2024-04-26 00:17:50 +04:00

13 lines
284 B
C#

namespace FishFactoryRestApi
{
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; }
}
}