What’s the point of using an optional parameter? List<T> is a reference type and if the client doesn’t supply a value it will simply be null:
public HttpResponseMessage Get(List<long> manufacturerIDs)
{
...
}
What’s the point of using an optional parameter? List<T> is a reference type and if the client doesn’t supply a value it will simply be null:
public HttpResponseMessage Get(List<long> manufacturerIDs)
{
...
}