namespace UnoMediaCollection.DataContracts { /// /// A Weather Forecast for a specific date /// /// Gets the Date of the Forecast. /// Gets the Forecast Temperature in Celsius. /// Get a description of how the weather will feel. public record WeatherForecast(DateOnly Date, double TemperatureC, string? Summary) { /// /// Gets the Forecast Temperature in Fahrenheit /// public double TemperatureF => 32 + (TemperatureC * 9 / 5); } }