Skip to content
This repository was archived by the owner on Jan 8, 2024. It is now read-only.

Commit 0f65621

Browse files
committed
Fixed return type from sample code
Fixed typo on return type from sample code.
1 parent 2309ec3 commit 0f65621

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public ActionResult MyActionResult([ModelBinder(typeof(DataTablesBinder)] IDataT
2525
{
2626
// do your stuff...
2727
var paged = myFilteredData.Skip(requestModel.Start).Take(requestModel.Length);
28-
return new DataTablesResponse(requestModel.Draw, paged, myFilteredData.Count(), myOriginalDataSet.Count());
28+
return View(new DataTablesResponse(requestModel.Draw, paged, myFilteredData.Count(), myOriginalDataSet.Count()));
2929
}
3030

3131
// Or if you'd like to return a JsonResult, try this:

0 commit comments

Comments
 (0)