GroupsControllerPostGroup - метод
Store information on a group with specified identifier.
Returns
Status403Forbidden if the group is inaccessible or doesn't exist.
Пространство имён: Tessa.Web.ControllersСборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.2.0+ffad8363f63902f18b3b3f4cfa533a14b2fb19a6
[HttpPostAttribute("{id:guid}")]
[SessionMethodAttribute(UserAccessLevel.Regular, false, new string[] { ... })]
[TypedJsonBodyAttribute]
[ConsumesAttribute("application/json", new string[] { ... })]
[ProducesResponseTypeAttribute(204)]
public Task<IActionResult> PostGroup(
[FromRouteAttribute] Guid id,
[FromBodyAttribute] PlainGroupStoreRequest request,
CancellationToken cancellationToken = default
)
<HttpPostAttribute("{id:guid}")>
<SessionMethodAttribute(UserAccessLevel.Regular, false, New String() { ... })>
<TypedJsonBodyAttribute>
<ConsumesAttribute("application/json", New String() { ... })>
<ProducesResponseTypeAttribute(204)>
Public Function PostGroup (
<FromRouteAttribute> id As Guid,
<FromBodyAttribute> request As PlainGroupStoreRequest,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of IActionResult)
public:
[HttpPostAttribute(L"{id:guid}")]
[SessionMethodAttribute(UserAccessLevel::Regular, false, __gc new array<String^>^ { ... })]
[TypedJsonBodyAttribute]
[ConsumesAttribute(L"application/json", __gc new array<String^>^ { ... })]
[ProducesResponseTypeAttribute(204)]
Task<IActionResult^>^ PostGroup(
[FromRouteAttribute] Guid id,
[FromBodyAttribute] PlainGroupStoreRequest^ request,
CancellationToken cancellationToken = CancellationToken()
)
[<HttpPostAttribute("{id:guid}")>]
[<SessionMethodAttribute(UserAccessLevel.Regular, false, new string[] { ... })>]
[<TypedJsonBodyAttribute>]
[<ConsumesAttribute("application/json", new string[] { ... })>]
[<ProducesResponseTypeAttribute(204)>]
member PostGroup :
[<FromRouteAttribute>] id : Guid *
[<FromBodyAttribute>] request : PlainGroupStoreRequest *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<IActionResult>
- id Guid
- Group's identifier.
- request PlainGroupStoreRequest
- Request to store the group. Identifier is overriden from a route's value id.
- cancellationToken CancellationToken (Optional)
Propagates notification that operations should be canceled.
TaskIActionResult
Defines a contract that represents the result of an action method.