SyntaxFix
Write A Post
Hire A Developer
Questions
Create a Route attribute for your method.
example
[Route("api/Get")] public IEnumerable<string> Get() { return new string[] { "value1", "value2" }; }
You can call like these http://localhost/api/Get