CardsControllerDelete - метод
Delete card with specified attributes. Method is also used to restore deleted card.
Пространство имён: Tessa.Web.ControllersСборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.0.4
[HttpDeleteAttribute]
[SessionMethodAttribute(UserAccessLevel.Regular)]
[TypedJsonBodyAttribute]
[ConsumesAttribute("application/json", new string[] { ... })]
[ProducesAttribute("application/json", new string[] { ... })]
[ProducesResponseTypeAttribute(200)]
public Task<ActionResult<CardDeleteResponse>> Delete(
[FromBodyAttribute] CardDeleteRequest request,
CancellationToken cancellationToken = default
)
<HttpDeleteAttribute>
<SessionMethodAttribute(UserAccessLevel.Regular)>
<TypedJsonBodyAttribute>
<ConsumesAttribute("application/json", New String() { ... })>
<ProducesAttribute("application/json", New String() { ... })>
<ProducesResponseTypeAttribute(200)>
Public Function Delete (
<FromBodyAttribute> request As CardDeleteRequest,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of ActionResult(Of CardDeleteResponse))
public:
[HttpDeleteAttribute]
[SessionMethodAttribute(UserAccessLevel::Regular)]
[TypedJsonBodyAttribute]
[ConsumesAttribute(L"application/json", __gc new array<String^>^ { ... })]
[ProducesAttribute(L"application/json", __gc new array<String^>^ { ... })]
[ProducesResponseTypeAttribute(200)]
Task<ActionResult<CardDeleteResponse^>^>^ Delete(
[FromBodyAttribute] CardDeleteRequest^ request,
CancellationToken cancellationToken = CancellationToken()
)
[<HttpDeleteAttribute>]
[<SessionMethodAttribute(UserAccessLevel.Regular)>]
[<TypedJsonBodyAttribute>]
[<ConsumesAttribute("application/json", new string[] { ... })>]
[<ProducesAttribute("application/json", new string[] { ... })>]
[<ProducesResponseTypeAttribute(200)>]
member Delete :
[<FromBodyAttribute>] request : CardDeleteRequest *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<ActionResult<CardDeleteResponse>>
- request CardDeleteRequest
- Request to delete the card.
- cancellationToken CancellationToken (Optional)
- Token to cancel async task.
TaskActionResultCardDeleteResponseResponse to the request.