WorkplacesControllerPostStore - метод
Сохраняет одно или несколько рабочих мест.
Метод доступен только администраторам.
Пространство имён: Tessa.Web.ControllersСборка: Tessa.Web (в Tessa.Web.dll) Версия: 3.6.0.22
[HttpPostAttribute("store")]
[DisableRequestSizeLimitAttribute]
[SessionMethodAttribute(UserAccessLevel.Administrator)]
[TypedJsonBodyAttribute]
[ConsumesAttribute("application/json", new string[] { ... })]
[ProducesAttribute("application/json", new string[] { ... })]
[ProducesResponseTypeAttribute(204)]
public Task<ActionResult> PostStore(
[FromBodyAttribute] PlainStoreWorkplaceModelRequest request,
CancellationToken cancellationToken = default
)
<HttpPostAttribute("store")>
<DisableRequestSizeLimitAttribute>
<SessionMethodAttribute(UserAccessLevel.Administrator)>
<TypedJsonBodyAttribute>
<ConsumesAttribute("application/json", New String() { ... })>
<ProducesAttribute("application/json", New String() { ... })>
<ProducesResponseTypeAttribute(204)>
Public Function PostStore (
<FromBodyAttribute> request As PlainStoreWorkplaceModelRequest,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of ActionResult)
public:
[HttpPostAttribute(L"store")]
[DisableRequestSizeLimitAttribute]
[SessionMethodAttribute(UserAccessLevel::Administrator)]
[TypedJsonBodyAttribute]
[ConsumesAttribute(L"application/json", __gc new array<String^>^ { ... })]
[ProducesAttribute(L"application/json", __gc new array<String^>^ { ... })]
[ProducesResponseTypeAttribute(204)]
Task<ActionResult^>^ PostStore(
[FromBodyAttribute] PlainStoreWorkplaceModelRequest^ request,
CancellationToken cancellationToken = CancellationToken()
)
[<HttpPostAttribute("store")>]
[<DisableRequestSizeLimitAttribute>]
[<SessionMethodAttribute(UserAccessLevel.Administrator)>]
[<TypedJsonBodyAttribute>]
[<ConsumesAttribute("application/json", new string[] { ... })>]
[<ProducesAttribute("application/json", new string[] { ... })>]
[<ProducesResponseTypeAttribute(204)>]
member PostStore :
[<FromBodyAttribute>] request : PlainStoreWorkplaceModelRequest *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<ActionResult>
- request PlainStoreWorkplaceModelRequest
- Запрос на изменение рабочих мест.
- cancellationToken CancellationToken (Optional)
- Объект, посредством которого можно отменить асинхронную задачу.
TaskActionResultАсинхронная задача.