public override SingleResult<Customer> GetCustomer(int key)
{
return SingleResult.Create(Enumerable.Empty<Customer>());
}
Comments: I am not entirely sure what the expected behaviour here is. should it cause a 404? should it return an empty feed? Is this even a reasonable scenario? when returning a single result, I'd expect the user to either return a real value, or null. or have something like SingleResult<T>.Empty (for structs).