Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Mar 26, 2012 08:27 AM by Ravi theja
Member
30 Points
20 Posts
Mar 26, 2012 08:27 AM|LINK
Hi,
I have a method in Web API which returns IQueryable result.
I want to add meta data for the result like number of rows in the result.
What i did was i wrote a custom action filter.
In OnActionExecuted() method I want to costomize the result by adding number of rows count to the content.
Thanks
Ravitheja
Ravi theja
Member
30 Points
20 Posts
How to add row count in the result as separate field of web API
Mar 26, 2012 08:27 AM|LINK
Hi,
I have a method in Web API which returns IQueryable result.
I want to add meta data for the result like number of rows in the result.
What i did was i wrote a custom action filter.
In OnActionExecuted() method I want to costomize the result by adding number of rows count to the content.
Thanks
Ravitheja