Web API 2 REST Get() not receiving parameters: Angular
问题 I am having a problem with my REST Get() method. I am calling it with parameters from my AngularJS controller but the id parameter is not being populated correctly. Here is my Web API 2 controller: public IEnumerable<string> Get(SearchParameters id) { // not important at the moment return null; } public struct SearchParameters { string selectedBroker; string brokerIsUnallocated; string brokerIncludeDeleted; string customerId; string businessType; string companyName; string town; string