|
ModelControllerT, UGet(String, Int32) Method
|
Gets a sorted list of T.
Namespace: GSF.Web.ModelAssembly: GSF.Web (in GSF.Web.dll) Version: 2.4.218-beta
Syntax [HttpGetAttribute]
[RouteAttribute("{sort}/{ascending:int}")]
public virtual IHttpActionResult Get(
string sort,
int ascending
)
<HttpGetAttribute>
<RouteAttribute("{sort}/{ascending:int}")>
Public Overridable Function Get (
sort As String,
ascending As Integer
) As IHttpActionResult
public:
[HttpGetAttribute]
[RouteAttribute(L"{sort}/{ascending:int}")]
virtual IHttpActionResult^ Get(
String^ sort,
int ascending
)
[<HttpGetAttribute>]
[<RouteAttribute("{sort}/{ascending:int}")>]
abstract Get :
sort : string *
ascending : int -> IHttpActionResult
[<HttpGetAttribute>]
[<RouteAttribute("{sort}/{ascending:int}")>]
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