View Source
Class TinyMceController
Inheritance
System.Object
Microsoft.AspNetCore.Mvc.ControllerBase
Assembly: Umbraco.Web.BackOffice.dll
Syntax
[PluginController("UmbracoApi")]
[Authorize(Policy = "SectionAccessForTinyMce")]
public class TinyMceController : UmbracoAuthorizedApiController, IUmbracoFeature, IDiscoverable
Constructors
View Source
TinyMceController(IHostingEnvironment, IShortStringHelper, IOptionsSnapshot<ContentSettings>, IIOHelper, IImageUrlGenerator)
Declaration
public TinyMceController(IHostingEnvironment hostingEnvironment, IShortStringHelper shortStringHelper, IOptionsSnapshot<ContentSettings> contentSettings, IIOHelper ioHelper, IImageUrlGenerator imageUrlGenerator)
Parameters
Methods
View Source
Declaration
[HttpPost]
public async Task<IActionResult> UploadImage(List<IFormFile> file)
Parameters
Type |
Name |
Description |
List<Microsoft.AspNetCore.Http.IFormFile> |
file |
|
Returns
Type |
Description |
Task<Microsoft.AspNetCore.Mvc.IActionResult> |
|