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
cultureDictionaryICultureDictionaryloggerFactoryILoggerFactoryshortStringHelperIShortStringHelpereventMessagesIEventMessagesFactorylocalizedTextServiceILocalizedTextServiceserializerIJsonSerializerhostingEnvironmentIHostingEnvironmentcontentSettingsIOptionsSnapshot<ContentSettings>imageUrlGeneratorIImageUrlGeneratorioHelperIIOHelper
Methods
UploadMedia(List<IFormFile>)
[HttpPost]
public Task<IActionResult> UploadMedia(List<IFormFile> file)