Creation
This commit is contained in:
12
Shared/Models/WeatherForecast.cs
Normal file
12
Shared/Models/WeatherForecast.cs
Normal file
@ -0,0 +1,12 @@
|
||||
namespace Expose.MyIT.Shared.Models;
|
||||
|
||||
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);
|
||||
}
|
Reference in New Issue
Block a user