int? <parametername> = null
public List<Photo> Get(int id, string type, int? objectid = null, int? categoryid = null)
{
...
}
Optional parameters needs to be nullable type and initialized to null.
int? <parametername> = null
public List<Photo> Get(int id, string type, int? objectid = null, int? categoryid = null)
{
...
}
Optional parameters needs to be nullable type and initialized to null.
Comments