source: ChapterX.API/WeatherForecast.cs@ 73b69b2

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

Added files

  • Property mode set to 100644
File size: 279 bytes
Line 
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.