For jquerydatatable, I need to prodive a json like this:
{
rusults:[],
count: 100
}.
Before actually hitting db, I have an iqueryable. Because I only get a specific number of per page, I have to use skip and take to get result (one request) and use another request to get item count for pagination.
Please tell me how could I avoid second request?