SchemeControllerDeleteTable - метод
Delete table. Returns true if table has existed and was deleted.
Method is available for administrators only.
Пространство имён: Tessa.Web.ControllersСборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.0.4
[HttpDeleteAttribute("tables/{id:guid}")]
[ProducesResponseTypeAttribute(200)]
public ValueTask<ActionResult<bool>> DeleteTable(
[FromRouteAttribute] Guid id,
CancellationToken cancellationToken = default
)
<HttpDeleteAttribute("tables/{id:guid}")>
<ProducesResponseTypeAttribute(200)>
Public Function DeleteTable (
<FromRouteAttribute> id As Guid,
Optional cancellationToken As CancellationToken = Nothing
) As ValueTask(Of ActionResult(Of Boolean))
public:
[HttpDeleteAttribute(L"tables/{id:guid}")]
[ProducesResponseTypeAttribute(200)]
ValueTask<ActionResult<bool>^> DeleteTable(
[FromRouteAttribute] Guid id,
CancellationToken cancellationToken = CancellationToken()
)
[<HttpDeleteAttribute("tables/{id:guid}")>]
[<ProducesResponseTypeAttribute(200)>]
member DeleteTable :
[<FromRouteAttribute>] id : Guid *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> ValueTask<ActionResult<bool>>
- id Guid
- Identifier of table to delete.
- cancellationToken CancellationToken (Optional)
- Token to cancel async task.
ValueTaskActionResultBooleantrue if table has existed and was deleted;
false otherwise.