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

namespace API
{
    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; }
    }
}