LocalizationControllerPostSaveLibrary - метод
Create or modify localization library. Method is available for administrators only.
Пространство имён: Tessa.Web.ControllersСборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.0.4
[HttpPostAttribute("store")]
[DisableRequestSizeLimitAttribute]
[TypedJsonBodyAttribute]
[SessionMethodAttribute(UserAccessLevel.Administrator)]
[ConsumesAttribute("application/json", new string[] { ... })]
[ProducesResponseTypeAttribute(204)]
public Task<IActionResult> PostSaveLibrary(
[FromBodyAttribute] PlainLocalizationLibrary library,
CancellationToken cancellationToken = default
)
<HttpPostAttribute("store")>
<DisableRequestSizeLimitAttribute>
<TypedJsonBodyAttribute>
<SessionMethodAttribute(UserAccessLevel.Administrator)>
<ConsumesAttribute("application/json", New String() { ... })>
<ProducesResponseTypeAttribute(204)>
Public Function PostSaveLibrary (
<FromBodyAttribute> library As PlainLocalizationLibrary,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of IActionResult)
public:
[HttpPostAttribute(L"store")]
[DisableRequestSizeLimitAttribute]
[TypedJsonBodyAttribute]
[SessionMethodAttribute(UserAccessLevel::Administrator)]
[ConsumesAttribute(L"application/json", __gc new array<String^>^ { ... })]
[ProducesResponseTypeAttribute(204)]
Task<IActionResult^>^ PostSaveLibrary(
[FromBodyAttribute] PlainLocalizationLibrary^ library,
CancellationToken cancellationToken = CancellationToken()
)
[<HttpPostAttribute("store")>]
[<DisableRequestSizeLimitAttribute>]
[<TypedJsonBodyAttribute>]
[<SessionMethodAttribute(UserAccessLevel.Administrator)>]
[<ConsumesAttribute("application/json", new string[] { ... })>]
[<ProducesResponseTypeAttribute(204)>]
member PostSaveLibrary :
[<FromBodyAttribute>] library : PlainLocalizationLibrary *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<IActionResult>
- library PlainLocalizationLibrary
- Localization library to save.
- cancellationToken CancellationToken (Optional)
- Token to cancel async task.
TaskIActionResult204 (No Content).