Click or drag to resize

ModelControllerTGet(String, String, Int32) Method

Gets all records from associated table, filtered to parent key ID if provided, sorted by the provided Field.

Namespace: GSF.Web.Model
Assembly: GSF.Web (in GSF.Web.dll) Version: 2.4.158-beta
Syntax
[HttpGetAttribute]
[RouteAttribute("{parentID}/{sort}/{ascending:int}")]
public virtual IHttpActionResult Get(
	string parentID,
	string sort,
	int ascending
)
View Source

Parameters

parentID  String
Parent ID to be used if Table has a set Parent Key
sort  String
the Field to be sorted by.
ascending  Int32
parameter to indicate whether the list is in ascending order.

Return Value

IHttpActionResult
IHttpActionResult containing IEnumerableT or Exception
See Also