source: ChapterX.API/WeatherForecast.cs@ a8f4a2d

main
Last change on this file since a8f4a2d was 877c13c, checked in by kikisrbinoska <srbinoskakristina07@…>, 4 months ago

Added files

  • Property mode set to 100644
File size: 279 bytes
RevLine 
[877c13c]1namespace ChapterX.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.