Click or drag to resize

ModelControllerT, UGetPagedList(ModelControllerT, UPostData, Int32, String) Method

Gets a subset of records from associated table, filtered and sorted as defined in postData. based on Take and 0-based page index

Namespace: GSF.Web.Model
Assembly: GSF.Web (in GSF.Web.dll) Version: 2.4.181-beta
Syntax
[RouteAttribute("{parentID?}/PagedList/{page}")]
[HttpPostAttribute]
public virtual IHttpActionResult GetPagedList(
	[FromBodyAttribute] ModelControllerT, UPostData postData,
	int page,
	string parentID = null
)
View Source

Parameters

postData  ModelControllerT, UPostData
ModelControllerT, UPostData containing the search and sort parameters
page  Int32
The 0-based index of the page to be retrieved
parentID  String  (Optional)
Parent ID to be used if Table has a set Parent Key

Return Value

IHttpActionResult
IHttpActionResult containing IEnumerableT or Exception
See Also