Skip to content

Instantly share code, notes, and snippets.

@GeradeDev
Created August 27, 2019 15:54
Show Gist options
  • Save GeradeDev/22b661e15afe2a8d95d6e77419035143 to your computer and use it in GitHub Desktop.
Save GeradeDev/22b661e15afe2a8d95d6e77419035143 to your computer and use it in GitHub Desktop.
[Route("api/{v:apiVersion}/Values")]
public class HomeController : Controller
{
[HttpGet]
public IEnumerable<string> Get()
{
return new string[] { "Value1 from Version 2", "value2 from Version 2" };
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment