|
ModelControllerT, UGetPagedList(ModelControllerT, UPostData, 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.207-beta
Syntax [HttpPostAttribute]
[RouteAttribute("PagedList/{page}")]
public virtual IHttpActionResult GetPagedList(
[FromBodyAttribute] ModelControllerT, UPostData postData,
int page
)
<HttpPostAttribute>
<RouteAttribute("PagedList/{page}")>
Public Overridable Function GetPagedList (
<FromBodyAttribute> postData As ModelControllerT, UPostData,
page As Integer
) As IHttpActionResult
public:
[HttpPostAttribute]
[RouteAttribute(L"PagedList/{page}")]
virtual IHttpActionResult^ GetPagedList(
[FromBodyAttribute] ModelControllerT, UPostData^ postData,
int page
)
[<HttpPostAttribute>]
[<RouteAttribute("PagedList/{page}")>]
abstract GetPagedList :
[<FromBodyAttribute>] postData : ModelControllerT, UPostData *
page : int -> IHttpActionResult
[<HttpPostAttribute>]
[<RouteAttribute("PagedList/{page}")>]
override GetPagedList :
[<FromBodyAttribute>] postData : ModelControllerT, UPostData *
page : int -> IHttpActionResult
function GetPagedList(postData, page);
View SourceParameters
- postData ModelControllerT, UPostData
- ModelControllerT, UPostData 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