I am looking at a piece of code written for Kendo which looks like following:
public ActionResult ReadEmployee([DataSourceRequest]DataSourceRequest request)
{
return Json(GetEmployees().ToDataSourceResult(request), JsonRequestBehavior.AllowGet);
}
I have few questions about it:
- Is DataSourceRequest a kind of ActionResult?
- Since it is used in confines of KendoUI, I am not able to understand the nature of this object in much more detail.
What is exact role of this object? Is there any documentation which explains it in details?