Class FileUploadController
Inheritance
System.Object
FileUploadController
Assembly: EPiServer.Cms.Shell.UI.dll
Version: 11.20.7
Syntax
public class FileUploadController : Controller
Constructors
FileUploadController(LocalizationService, IContentTypeRepository, IContentChangeManager, IBlobFactory, ContentMediaResolver, IValidationService, Settings, AspNetAntiForgeryOptions)
Declaration
public FileUploadController(LocalizationService localizationService, IContentTypeRepository contentTypeRepository, IContentChangeManager contentChangeManager, IBlobFactory blobFactory, ContentMediaResolver contentMediaResolver, IValidationService validationService, Settings settings, AspNetAntiForgeryOptions antiForgeryOptions)
Parameters
Methods
Upload(String, Boolean)
Declaration
[JsonErrorHandling]
public ActionResult Upload(string uploadDirectory, bool createAsLocalAsset)
Parameters
Type |
Name |
Description |
System.String |
uploadDirectory |
|
System.Boolean |
createAsLocalAsset |
|
Returns
Type |
Description |
System.Web.Mvc.ActionResult |
|
Extension Methods