AvatarsControllerPostStoreAvatar - метод

Stores avatar content.

Definition

Пространство имён: Tessa.Web.Client.Controllers
Сборка: Tessa.Web.Client (в Tessa.Web.Client.dll) Версия: 4.1.3+7e2b1422f9b8c7c41fbbc4b151a843bed05319ab
C#
[HttpPostAttribute("store")]
[DisableRequestSizeLimitAttribute]
[SessionMethodAttribute(UserAccessLevel.Regular, false, new string[] { ... })]
[ProducesResponseTypeAttribute(204)]
public Task<IActionResult> PostStoreAvatar(
	IFormFile content,
	IFormFile? additionalContent = null,
	[FromFormAttribute] Guid? id = null,
	[FromFormAttribute] AvatarContentKind? kind = null,
	CancellationToken cancellationToken = default
)

Параметры

content  IFormFile
Main content of the new avatar.
additionalContent  IFormFile  (Optional)
Additional content of the new avatar. Used only if kind is Photo.
id  NullableGuid  (Optional)
The identifier of the entity for that avatar content should be stored.
kind  NullableAvatarContentKind  (Optional)
Kind of avatar content.
cancellationToken  CancellationToken  (Optional)
Token to cancel async task.

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

TaskIActionResult

См. также