|
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.ModelAssembly: 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
)
<RouteAttribute("PagedList/{page}")>
<HttpPostAttribute>
Public Overridable Function GetPagedList (
<FromBodyAttribute> postData As ModelControllerTPostData,
page As Integer
) As IHttpActionResult
public:
[RouteAttribute(L"PagedList/{page}")]
[HttpPostAttribute]
virtual IHttpActionResult^ GetPagedList(
[FromBodyAttribute] ModelControllerTPostData^ postData,
int page
)
[<RouteAttribute("PagedList/{page}")>]
[<HttpPostAttribute>]
abstract GetPagedList :
[<FromBodyAttribute>] postData : ModelControllerTPostData *
page : int -> IHttpActionResult
[<RouteAttribute("PagedList/{page}")>]
[<HttpPostAttribute>]
override GetPagedList :
[<FromBodyAttribute>] postData : ModelControllerTPostData *
page : int -> IHttpActionResult
function GetPagedList(postData, page);
View SourceParameters
- postData ModelControllerTPostData
- ModelControllerTPostData containing the search and sort parameters
- page Int32
- The 0-based index of the page to be retrieved
Return Value
IHttpActionResultIHttpActionResult containing
IEnumerableT or
ExceptionSee Also