I have an object which I return wrapped in Json from the controller to the client.
return Json(result); //result is DataSourceResult
I would like to add some more properties inside this Json response.
How can I do so?
I tried using Json property Data and also casting the DataSourceResult to object and trying to expand it, but whatever I have doesn't look like a good solution.