LocalizationControllerPostRemoveLibrary - метод

Delete localization library. Returns flag whether library has been present prior to deletion. Method is available for administrators only.

Definition

Пространство имён: Tessa.Web.Controllers
Сборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.0.4
C#
[HttpDeleteAttribute]
[DisableRequestSizeLimitAttribute]
[TypedJsonBodyAttribute]
[SessionMethodAttribute(UserAccessLevel.Administrator)]
[ConsumesAttribute("application/json", new string[] { ... })]
[ProducesAttribute("application/json", new string[] { ... })]
[ProducesResponseTypeAttribute(200)]
public Task<ActionResult<bool>> PostRemoveLibrary(
	[FromBodyAttribute] PlainLocalizationLibrary library,
	CancellationToken cancellationToken = default
)

Параметры

library  PlainLocalizationLibrary
Localization library to delete.
cancellationToken  CancellationToken  (Optional)
Token to cancel async task.

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

TaskActionResultBoolean
true, if library has been present prior to deletion; false otherwise.

См. также