tags:

views:

165

answers:

1

I have created a Rest collection WCF Service using the starter kit. Everything is fine except i need to modify the OnGetItem(string id) to accept an additional parameter such that the URI becomes

http://localhost/service.svc/1/5

where 1 = department id and 5 = employee id

I can see the ICollectionService within the abstract class collection service base protected abstract TItem OnGetItem(string id); but I am not allowed to modify it.

Does anyone have any ideas has to how I can make such a simple addition?

Thanks in advance

A: 

I believe you already found your answer on this thread.

Yavor Georgiev - MSFT