Skip to content

Instantly share code, notes, and snippets.

@dkreider
Created May 22, 2021 15:02
Show Gist options
  • Select an option

  • Save dkreider/b37c4ab3d2974fe8f57e08d19df60467 to your computer and use it in GitHub Desktop.

Select an option

Save dkreider/b37c4ab3d2974fe8f57e08d19df60467 to your computer and use it in GitHub Desktop.
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