ViewsControllerPostGetModels - метод
Возвращает метаинформацию по запрошенным представлениям.
Метод доступен только администраторам.
Пространство имён: Tessa.Web.ControllersСборка: Tessa.Web (в Tessa.Web.dll) Версия: 3.6.0.22
[HttpPostAttribute("get-models")]
[SessionMethodAttribute(UserAccessLevel.Administrator)]
[TypedJsonBodyAttribute]
[ConsumesAttribute("application/json", new string[] { ... })]
[ProducesAttribute("application/json", new string[] { ... })]
[ProducesResponseTypeAttribute(200)]
public Task<ActionResult<List<PlainTessaViewModel>>> PostGetModels(
[FromBodyAttribute] PlainGetModelRequest request,
CancellationToken cancellationToken = default
)
<HttpPostAttribute("get-models")>
<SessionMethodAttribute(UserAccessLevel.Administrator)>
<TypedJsonBodyAttribute>
<ConsumesAttribute("application/json", New String() { ... })>
<ProducesAttribute("application/json", New String() { ... })>
<ProducesResponseTypeAttribute(200)>
Public Function PostGetModels (
<FromBodyAttribute> request As PlainGetModelRequest,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of ActionResult(Of List(Of PlainTessaViewModel)))
public:
[HttpPostAttribute(L"get-models")]
[SessionMethodAttribute(UserAccessLevel::Administrator)]
[TypedJsonBodyAttribute]
[ConsumesAttribute(L"application/json", __gc new array<String^>^ { ... })]
[ProducesAttribute(L"application/json", __gc new array<String^>^ { ... })]
[ProducesResponseTypeAttribute(200)]
Task<ActionResult<List<PlainTessaViewModel^>^>^>^ PostGetModels(
[FromBodyAttribute] PlainGetModelRequest^ request,
CancellationToken cancellationToken = CancellationToken()
)
[<HttpPostAttribute("get-models")>]
[<SessionMethodAttribute(UserAccessLevel.Administrator)>]
[<TypedJsonBodyAttribute>]
[<ConsumesAttribute("application/json", new string[] { ... })>]
[<ProducesAttribute("application/json", new string[] { ... })>]
[<ProducesResponseTypeAttribute(200)>]
member PostGetModels :
[<FromBodyAttribute>] request : PlainGetModelRequest *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<ActionResult<List<PlainTessaViewModel>>>
- request PlainGetModelRequest
- Запрос на загрузку метаинформации представлений.
- cancellationToken CancellationToken (Optional)
- Объект, посредством которого можно отменить асинхронную задачу.
TaskActionResultListPlainTessaViewModelМетаинформация по запрошенным представлениям.