|
ModelControllerTGet(String, Int32) Method
|
Gets a sorted list of T.
Namespace: GSF.Web.ModelAssembly: 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
)
<RouteAttribute("{sort}/{ascending:int}")>
<HttpGetAttribute>
Public Overridable Function Get (
sort As String,
ascending As Integer
) As IHttpActionResult
public:
[RouteAttribute(L"{sort}/{ascending:int}")]
[HttpGetAttribute]
virtual IHttpActionResult^ Get(
String^ sort,
int ascending
)
[<RouteAttribute("{sort}/{ascending:int}")>]
[<HttpGetAttribute>]
abstract Get :
sort : string *
ascending : int -> IHttpActionResult
[<RouteAttribute("{sort}/{ascending:int}")>]
[<HttpGetAttribute>]
override Get :
sort : string *
ascending : int -> IHttpActionResult
function Get(sort, ascending);
View SourceParameters
- sort String
- the Field to be sorted by.
- ascending Int32
- parameter to indicate whether the list is in ascending order.
Return Value
IHttpActionResultIHttpActionResult containing
IEnumerableT or
ExceptionSee Also