I need to pass a string parameter as querystring parameter which should be optional.
public IHttpActionResult Test([FromUri] string Name, string Place)
Here I want Place as an optional parameter. I tried to use as
string?Place=null
.
But It wont works for me.
Let me know the solution for this.