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

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