Table of Contents

Class MediaPickerThreeController

Namespace
Umbraco.Cms.Web.BackOffice.Controllers
Assembly
Umbraco.Web.BackOffice.dll
[Authorize(Policy = "SectionAccessMedia")]
public class MediaPickerThreeController : ContentControllerBase
Inheritance
MediaPickerThreeController
Inherited Members

Constructors

MediaPickerThreeController(ICultureDictionary, ILoggerFactory, IShortStringHelper, IEventMessagesFactory, ILocalizedTextService, IJsonSerializer, IHostingEnvironment, IOptionsSnapshot<ContentSettings>, IImageUrlGenerator, IIOHelper)

public MediaPickerThreeController(ICultureDictionary cultureDictionary, ILoggerFactory loggerFactory, IShortStringHelper shortStringHelper, IEventMessagesFactory eventMessages, ILocalizedTextService localizedTextService, IJsonSerializer serializer, IHostingEnvironment hostingEnvironment, IOptionsSnapshot<ContentSettings> contentSettings, IImageUrlGenerator imageUrlGenerator, IIOHelper ioHelper)

Parameters

cultureDictionary ICultureDictionary
loggerFactory ILoggerFactory
shortStringHelper IShortStringHelper
eventMessages IEventMessagesFactory
localizedTextService ILocalizedTextService
serializer IJsonSerializer
hostingEnvironment IHostingEnvironment
contentSettings IOptionsSnapshot<ContentSettings>
imageUrlGenerator IImageUrlGenerator
ioHelper IIOHelper

Methods

UploadMedia(List<IFormFile>)

[HttpPost]
public Task<IActionResult> UploadMedia(List<IFormFile> file)

Parameters

file List<IFormFile>

Returns

Task<IActionResult>