PIbd-22_Gerimovich.I.M._Fur.../FurnitureAssembly/FurnitureAssemblyRestApi/WeatherForecast.cs

13 lines
290 B
C#
Raw Normal View History

2024-05-08 11:24:46 +04:00
namespace FurnitureAssemblyRestApi
{
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; }
}
}