Skip to content

Instantly share code, notes, and snippets.

@talkingdotnet
Created April 7, 2018 10:01
Show Gist options
  • Save talkingdotnet/f2982953ac241bf83e8af8a519a0ad24 to your computer and use it in GitHub Desktop.
Save talkingdotnet/f2982953ac241bf83e8af8a519a0ad24 to your computer and use it in GitHub Desktop.
private static string[] Summaries = new[]
{
"Freezing", "Bracing", "Chilly", "Cool", "Mild", "Warm", "Balmy", "Hot", "Sweltering", "Scorching"
};
[HttpGet("[action]")]
public string[] GetSummaries()
{
return Summaries;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment