Created
May 22, 2021 15:02
-
-
Save dkreider/b37c4ab3d2974fe8f57e08d19df60467 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| namespace BaseController | |
| { | |
| public class WeatherForecast : BaseModel | |
| { | |
| public DateTime Date { get; set; } | |
| public int TemperatureC { get; set; } | |
| public int TemperatureF => 32 + (int)(TemperatureC / 0.5556); | |
| public string Summary { get; set; } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment