Click or drag to resize

ModelController<T> .Get(String, Int32) Method

Gets a sorted list of T.

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

Parameters

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 IEnumerable<T> or Exception
See Also