C# Class JordanRift.Grassroots.Framework.Services.LocalFileSaveService

Inheritance: IFileSaveService
Show file Open project: JordanRift/Grassroots

Public Methods

Method Description
SaveFiles ( List fileUploadList ) : void

Saves each file in the FileUpload to the local "Content\\UserContent\\" folder and will set the IsErrors on each FileUpload if it is not possible to save the file. It will also attempt to delete the previous file name, but will be silent if the delete fails (file in use, permissions, etc.).

Method Details

SaveFiles() public method

Saves each file in the FileUpload to the local "Content\\UserContent\\" folder and will set the IsErrors on each FileUpload if it is not possible to save the file. It will also attempt to delete the previous file name, but will be silent if the delete fails (file in use, permissions, etc.).
public SaveFiles ( List fileUploadList ) : void
fileUploadList List A list of files to save.
return void