123456789101112131415161718192021222324 |
- using Microsoft.AspNetCore.Http;
- using MTWorkHR.Application.Models;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace MTWorkHR.Application.Services.Interfaces
- {
- public interface IFileService
- {
- Task<string> UploadFile(IFormFile file);
- Task<List<string>> UploadFiles(List<IFormFile> files);
- Task<bool> CopyFileToActualFolder(List<AttachmentDto> attachments);
- bool CopyFileToActualFolder(string FileName);
- bool DeleteFileFromTempFolder(string FileName);
- string GetTempAttachmentPath();
- string GetActualAttachmentPath();
- Task<Tuple<MemoryStream, string, string>> GetFileDownloadInfo(string fileUrl);
- }
- }
|