I want to return two different formatted responses for the same feature (a list of entities) based on the accept header of the request, it is for a \"json\" and a \"html\" r
if(Request.Headers["Content-Type"] == "application/json") { return OK(json); } else { return View(); }
Thats ok?