WeatherForecast.cs 279 B

1234567891011121314
  1. namespace MTWorkHR.API
  2. {
  3. public class WeatherForecast
  4. {
  5. public DateOnly Date { get; set; }
  6. public int TemperatureC { get; set; }
  7. public int TemperatureF => 32 + (int)(TemperatureC / 0.5556);
  8. public string? Summary { get; set; }
  9. }
  10. }