13 lines
306 B
C#
Raw Normal View History

2023-11-09 13:01:58 +05:30
namespace BlazorWebassemblyPushNotification.Shared
{
public class WeatherForecast
{
public DateOnly Date { get; set; }
public int TemperatureC { get; set; }
public string? Summary { get; set; }
public int TemperatureF => 32 + (int)(TemperatureC / 0.5556);
}
}