Click or drag to resize

ModelControllerTGetPagedList(ModelControllerTPostData, Int32) 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.158-beta
Syntax
[RouteAttribute("PagedList/{page}")]
[HttpPostAttribute]
public virtual IHttpActionResult GetPagedList(
	[FromBodyAttribute] ModelControllerTPostData postData,
	int page
)
View Source

Parameters

postData  ModelControllerTPostData
ModelControllerTPostData containing the search and sort parameters
page  Int32
The 0-based index of the page to be retrieved

Return Value

IHttpActionResult
IHttpActionResult containing IEnumerableT or Exception
See Also