public IEnumerable<string> Get()
{
return new string[] { "value1", "value2" };
}
public IEnumerable<string> Get(int id)
{
return new string[] { "sa1", "sa2" };
}
[HttpGet]
public IEnumerable<string> password()
{
return new string[] { "password", "password" };
}
How to implemet and call get methods in web api
But When i try to call http://localhost:49365/api/mycontrollername/passwo ...
Go to the complete details ...