SchemeControllerPostInvalidateCache - метод

Invalidate scheme cache on the server. Method is available for administrators only.

Definition

Пространство имён: Tessa.Web.Controllers
Сборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.0.4
C#
[HttpPostAttribute("invalidate")]
[ProducesResponseTypeAttribute(200)]
public ValueTask<ActionResult<bool>> PostInvalidateCache(
	[FromQueryAttribute] bool force = false,
	CancellationToken cancellationToken = default
)

Параметры

force  Boolean  (Optional)
true - cache will be invalidated forcefully; false - cache will be invalidated only if necessary.
cancellationToken  CancellationToken  (Optional)
Token to cancel async task.

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

ValueTaskActionResultBoolean
true if cache was actually invalidated; false otherwise.

См. также