public override SingleResult<Customer> GetCustomer(int key)
{
return SingleResult.Create(Enumerable.Empty<Customer>());
}
Comments: Yes, it is. The problem is that people return SingleResult<T> with code like this, ``` return SingleResult.Create(_db.Customers.Where(c => c.Id == id); ``` As you can see, figuring out whether there the singleresult is empty or not requires one more query which is not efficient. The expected behavior is 404 from the advisors call that we had the other day.