aboutsummaryrefslogtreecommitdiff
path: root/src/DevHive.Blazor/Data/WeatherForecast.cs
blob: b6058715166cbc0dc2761b81044ec715c741bd2b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
using System;

namespace DevHive.Blazor.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; }
    }
}