In my OdataController I am exposing entity Customer (as an example). I have a method:
Get()
This works just fine. To return a single entity I have this method:
GetCustomer(int key)
This also works just fine.
* So here's my Question*
Is GetCustomer the only signature option to return a single entity? I'm not sure how ODataController knows how to resolve this method signature, but Im wondering if there is a generic way to define this.