Created
November 9, 2019 15:20
-
-
Save AbubakarSiddiq/5c8333e1cb22ac4df3b5cb39945009e7 to your computer and use it in GitHub Desktop.
This file contains 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
[ApiVersionNeutral] | |
[Route("api/Values")] | |
[ApiController] | |
public class ValuesV1Controller : ControllerBase | |
{ | |
// GET: api/<controller> | |
[HttpGet] | |
public IEnumerable<string> Get() | |
{ | |
return new string[] { "value one from api version", "One"}; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment