ViewsControllerDelete - метод
Delete specified views. Method is available for administrators only.
Пространство имён: Tessa.Web.ControllersСборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.0.4
[HttpDeleteAttribute]
[SessionMethodAttribute(UserAccessLevel.Administrator)]
[TypedJsonBodyAttribute]
[ConsumesAttribute("application/json", new string[] { ... })]
[ProducesAttribute("application/json", new string[] { ... })]
[ProducesResponseTypeAttribute(204)]
public Task<ActionResult> Delete(
[FromBodyAttribute] PlainStoreTessaViewRequest request,
CancellationToken cancellationToken = default
)
<HttpDeleteAttribute>
<SessionMethodAttribute(UserAccessLevel.Administrator)>
<TypedJsonBodyAttribute>
<ConsumesAttribute("application/json", New String() { ... })>
<ProducesAttribute("application/json", New String() { ... })>
<ProducesResponseTypeAttribute(204)>
Public Function Delete (
<FromBodyAttribute> request As PlainStoreTessaViewRequest,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of ActionResult)
public:
[HttpDeleteAttribute]
[SessionMethodAttribute(UserAccessLevel::Administrator)]
[TypedJsonBodyAttribute]
[ConsumesAttribute(L"application/json", __gc new array<String^>^ { ... })]
[ProducesAttribute(L"application/json", __gc new array<String^>^ { ... })]
[ProducesResponseTypeAttribute(204)]
Task<ActionResult^>^ Delete(
[FromBodyAttribute] PlainStoreTessaViewRequest^ request,
CancellationToken cancellationToken = CancellationToken()
)
[<HttpDeleteAttribute>]
[<SessionMethodAttribute(UserAccessLevel.Administrator)>]
[<TypedJsonBodyAttribute>]
[<ConsumesAttribute("application/json", new string[] { ... })>]
[<ProducesAttribute("application/json", new string[] { ... })>]
[<ProducesResponseTypeAttribute(204)>]
member Delete :
[<FromBodyAttribute>] request : PlainStoreTessaViewRequest *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<ActionResult>
- request PlainStoreTessaViewRequest
- Request to delete the views.
- cancellationToken CancellationToken (Optional)
- Token to cancel async task.
TaskActionResult204 (No Content).