When a method returns IEnumerable<T>
and I do not have anything to return, we can use Enumerable.Empty<T>()
.
Is there an equivalent to the above for a method returning IQueryable<T>
When a method returns IEnumerable<T>
and I do not have anything to return, we can use Enumerable.Empty<T>()
.
Is there an equivalent to the above for a method returning IQueryable<T>