Quantcast
Channel: ASPNETWebStack Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 7215

Edited Issue: SingleResult cannot be serialized by OData formatter [1021]

$
0
0
```
public SingleResult<Customer> GetCustomers(int id)
{
return new SingleResult<Customer>(_db.Customers.Where(c => c.ID == id));
}
```

Requesting the URL ~/Customers(42) gives back a 406.

Viewing all articles
Browse latest Browse all 7215

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>