OperationsControllerDelete - метод

Delete operation by identifier. Operation isn't considered active after that.

Definition

Пространство имён: Tessa.Web.Controllers
Сборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.0.4
C#
[HttpDeleteAttribute("{id:guid}")]
[SessionMethodAttribute(UserAccessLevel.Regular)]
[ProducesAttribute("application/json", new string[] { ... })]
[ProducesResponseTypeAttribute(204)]
public Task<IActionResult> Delete(
	[FromRouteAttribute] Guid id,
	CancellationToken cancellationToken = default
)

Параметры

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

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

TaskIActionResult
204 (No Content).

См. также