SignalR/BlazorServer/Data/WeatherForecast.cs

13 lines
283 B
C#
Raw Permalink Normal View History

2022-05-05 18:48:40 +02:00
namespace BlazorServer.Data
{
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; }
}
}