public ActionResult GetOrders([DataSourceRequest] DataSourceRequest request) { OrderBusinessLogic obj = new OrderBusinessLogic(); DataSourceResult lstItems = obj.GetOrders(request); return(Json(lstItems, JsonRequestBehavior.AllowGet)); }