Build your New Platform For Future
R-Read-GET
The GET method is used to retrieve information from the given server using a given URI. Requests using GET should only retrieve data and should have no other effect on the data.
public IHttpActionResult Add(string title)
{
//Creates a Movie based on the Title
return OK();
}
[HttpGET]
public IHttpActionResult Add(string title)
{
//Creates a Movie based on the Title
return OK();
}
[HttpGET]
public int Add(int value1,int value2)
{
return value1 + value2;
}