//using Microsoft.AspNetCore.Http; using adas_core.Domain.Enums; using adas_core.Domain.Models.DTO; using Microsoft.AspNetCore.Http; namespace adas_core.Application.Services.Interfaces; public interface IFileService { /// /// Copies the provided update files to the appropriate location for processing or deployment. /// /// The collection of update files to be copied. /// A task that represents the asynchronous operation. The task result contains a boolean value indicating whether the copy operation succeeded. Task CopyUpdateFiles(ICollection files); /// /// Uploads the provided asset files categorized by the specified theme, returning a value indicating whether the operation completed successfully. /// /// The collection of uploaded form files to process and store as assets. /// The asset theme used to classify and organize the uploaded files. /// A task that resolves to true if the asset files were uploaded successfully; otherwise, false. Task UploadAssetFiles(ICollection files, FileEnum.AssetTheme themeParse); /// /// Retrieves all asset files for the specified asset theme as a list of asset data transfer objects. /// /// The asset theme used to retrieve the corresponding assets. /// A containing the asset data transfer objects for the specified theme. List GetAllAssetFile(FileEnum.AssetTheme themeParse); /// /// Retrieves a list of file names from the specified directory path. /// /// The path of the directory from which to retrieve the files. /// A list of strings representing the names of the files in the specified directory. List GetFilesInDirectory(string directoryPath); }