I've got an MVC solution that exposes data from a database.
They issue an HttpGet and my controller provides the data to the client:
[HttpGet]
[Route("{someGuid:guid}")]
public HttpResponseMessage Get([FromUri] Guid? someGuid)
{
var responseData = _someService.RecordSet.Where(x=>x.guid == someGuid);
return Request.ResponseMessageFromApiEntity(responseData);
}
How would I implement a way for the client to be able to issue a request with multiple combinations of parameters? They could pass in 2 or 5 or up to 10, and I would need to filter the dataset by those parameters.