source: iknow-api/WeatherForecast.cs@ 41e4f9f

Last change on this file since 41e4f9f was 0b16523, checked in by stefansaveski <stefansaveski19@…>, 11 months ago

Add project files.

  • Property mode set to 100644
File size: 276 bytes
Line 
1namespace iknow_api
2{
3 public class WeatherForecast
4 {
5 public DateOnly Date { get; set; }
6
7 public int TemperatureC { get; set; }
8
9 public int TemperatureF => 32 + (int)(TemperatureC / 0.5556);
10
11 public string? Summary { get; set; }
12 }
13}
Note: See TracBrowser for help on using the repository browser.