SchemeControllerDeleteProcedure - метод

Delete procedure. Returns true if procedure has existed and was deleted. Method is available for administrators only.

Definition

Пространство имён: Tessa.Web.Controllers
Сборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.0.4
C#
[HttpDeleteAttribute("procedures/{id:guid}")]
[ProducesResponseTypeAttribute(200)]
public ValueTask<ActionResult<bool>> DeleteProcedure(
	[FromRouteAttribute] Guid id,
	CancellationToken cancellationToken = default
)

Параметры

id  Guid
Identifier of procedure to delete.
cancellationToken  CancellationToken  (Optional)
Token to cancel async task.

Возвращаемое значение

ValueTaskActionResultBoolean
true if procedure has existed and was deleted; false otherwise.

См. также