Hide

YetaWF.ComponentsHTML Package Documentation

Display
Print

YetaWF.Modules.ComponentsHTML.Controllers.FileUpload1Controller.SaveImage Method

Saves an uploaded image file. Works in conjunction with the FileUpload1 template and YetaWF.Core.Upload.FileUpload.

Class: YetaWF.Modules.ComponentsHTML.Controllers.FileUpload1Controller
Namespace: YetaWF.Modules.ComponentsHTML.Controllers
Assembly: YetaWF.ComponentsHTML

Syntax

public Task<ActionResult> SaveImage(
    IFormFile __filename,
    string __lastInternalName );

Parameters

__filename

Describes the image file being uploaded.

__lastInternalName

The name of a previously uploaded file (if any) that is being replaced by the current file being uploaded.

Return Value

An action result.

See Also YetaWF.Modules.ComponentsHTML.Controllers.FileUpload1Controller ClassYetaWF.ComponentsHTML PackageYetaWF.Core