OperationsControllerDelete - метод
Delete operation by identifier. Operation isn't considered active after that.
Пространство имён: Tessa.Web.ControllersСборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.0.4
[HttpDeleteAttribute("{id:guid}")]
[SessionMethodAttribute(UserAccessLevel.Regular)]
[ProducesAttribute("application/json", new string[] { ... })]
[ProducesResponseTypeAttribute(204)]
public Task<IActionResult> Delete(
[FromRouteAttribute] Guid id,
CancellationToken cancellationToken = default
)
<HttpDeleteAttribute("{id:guid}")>
<SessionMethodAttribute(UserAccessLevel.Regular)>
<ProducesAttribute("application/json", New String() { ... })>
<ProducesResponseTypeAttribute(204)>
Public Function Delete (
<FromRouteAttribute> id As Guid,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of IActionResult)
public:
[HttpDeleteAttribute(L"{id:guid}")]
[SessionMethodAttribute(UserAccessLevel::Regular)]
[ProducesAttribute(L"application/json", __gc new array<String^>^ { ... })]
[ProducesResponseTypeAttribute(204)]
Task<IActionResult^>^ Delete(
[FromRouteAttribute] Guid id,
CancellationToken cancellationToken = CancellationToken()
)
[<HttpDeleteAttribute("{id:guid}")>]
[<SessionMethodAttribute(UserAccessLevel.Regular)>]
[<ProducesAttribute("application/json", new string[] { ... })>]
[<ProducesResponseTypeAttribute(204)>]
member Delete :
[<FromRouteAttribute>] id : Guid *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<IActionResult>
- id Guid
- Identifier of operation to delete.
- cancellationToken CancellationToken (Optional)
- Token to cancel async task.
TaskIActionResult204 (No Content).