View Source
Inheritance
System.Object
Microsoft.AspNetCore.Mvc.ControllerBase
Assembly: Umbraco.Web.BackOffice.dll
[PluginController("UmbracoApi")]
[Authorize(Policy = "SectionAccessMedia")]
public class MediaPickerThreeController : ContentControllerBase, IUmbracoFeature, IDiscoverable
Constructors
View Source
MediaPickerThreeController(ICultureDictionary, ILoggerFactory, IShortStringHelper, IEventMessagesFactory, ILocalizedTextService, IJsonSerializer, IHostingEnvironment, IOptionsSnapshot<ContentSettings>, IImageUrlGenerator, IIOHelper)
Declaration
public MediaPickerThreeController(ICultureDictionary cultureDictionary, ILoggerFactory loggerFactory, IShortStringHelper shortStringHelper, IEventMessagesFactory eventMessages, ILocalizedTextService localizedTextService, IJsonSerializer serializer, IHostingEnvironment hostingEnvironment, IOptionsSnapshot<ContentSettings> contentSettings, IImageUrlGenerator imageUrlGenerator, IIOHelper ioHelper)
Parameters
Methods
View Source
Declaration
[HttpPost]
public async Task<IActionResult> UploadMedia(List<IFormFile> file)
Parameters
Type |
Name |
Description |
List<Microsoft.AspNetCore.Http.IFormFile> |
file |
|
Returns
Type |
Description |
Task<Microsoft.AspNetCore.Mvc.IActionResult> |
|