I have a Web API Endpoint with the following signatures.
[HttpGet]
[Route("api/some-endpoint")]
public IHttpActionResult getAll()
{
...
...
return Ok({ firstList, secondList });
}
Now, I want to return two list variables firstList, secondList. How to do that?