What is the api gonna look like? It should be pretty straight forward, it's better not be byName, byEmployeeName, the code API likes /Order/:OrderId /Order/Employee/:EmployeeId etc.
By the way, the signature of the OrderResource is using object as the parameter. I don't see how do we use object in the url.
We shouldn have a discuss about the API design, I would assume let's just use int ID as the parameters.
What is the api gonna look like? It should be pretty straight forward, it's better not be byName, byEmployeeName, the code API likes /Order/:OrderId /Order/Employee/:EmployeeId etc. By the way, the signature of the OrderResource is using object as the parameter. I don't see how do we use object in the url. We shouldn have a discuss about the API design, I would assume let's just use int ID as the parameters.