Click or drag to resize

ModelControllerT, UGet(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.218-beta
Syntax
[RouteAttribute("{parentID}/{sort}/{ascending:int}")]
[HttpGetAttribute]
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