PIbd-21_Ihonkina_E.S._Preca.../PrecastConcretePlantRestApi/WeatherForecast.cs
Катя Ихонкина d661d79591 коммит
2023-04-05 20:18:52 +04:00

13 lines
293 B
C#

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