WallpapersControllerPostStoreWallpaper - метод

Upload wallpaper file selected by the user, then select it as current and get image source string.

Definition

Пространство имён: Tessa.Web.Client.Controllers
Сборка: Tessa.Web.Client (в Tessa.Web.Client.dll) Версия: 4.0.4
C#
[HttpPostAttribute("store")]
[DisableRequestSizeLimitAttribute]
[SessionMethodAttribute(UserAccessLevel.Regular)]
[ProducesAttribute("text/plain", new string[] { ... })]
[ProducesResponseTypeAttribute(200)]
[ProducesResponseTypeAttribute(204)]
public Task<IActionResult> PostStoreWallpaper(
	IFormFile image,
	CancellationToken cancellationToken = default
)

Параметры

image  IFormFile
Wallpaper image contents.
cancellationToken  CancellationToken  (Optional)
Token to cancel async task.

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

TaskIActionResult
String containing image source for the wallpaper.

См. также