diff options
| author | mo khan <mo.khan@gmail.com> | 2019-10-20 15:40:31 -0600 |
|---|---|---|
| committer | mo khan <mo.khan@gmail.com> | 2019-10-20 15:40:31 -0600 |
| commit | 726468456ad606239176addaf1a3bbb63e0c7eb0 (patch) | |
| tree | 4f81de40eff838f46cb3911f05dc36a53d33be92 /src/web.api/Models | |
| parent | 8a98c812a4c370272807165d4377974bf4d7a376 (diff) | |
Use unix line endings
Diffstat (limited to 'src/web.api/Models')
| -rw-r--r-- | src/web.api/Models/WeatherForecast.cs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/web.api/Models/WeatherForecast.cs b/src/web.api/Models/WeatherForecast.cs new file mode 100644 index 0000000..666f578 --- /dev/null +++ b/src/web.api/Models/WeatherForecast.cs @@ -0,0 +1,12 @@ +using System; + +namespace web.api.Models +{ + 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; } + } +} |
