ISEbd-21_KashtanovD.A.FishF.../FishFactory/FishFactoryRestApi/WeatherForecast.cs

13 lines
284 B
C#
Raw Normal View History

2024-04-26 00:17:50 +04:00
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; }
}
}