DamageAssessment_Backend/DamageAssesmentApi/DamageAssesment.Api.Attachments/Interfaces/IUploadService.cs

15 lines
646 B
C#
Raw Normal View History

2023-08-15 22:52:30 -05:00
using DamageAssesment.Api.Attachments.Models;
namespace DamageAssesment.Api.Attachments.Interfaces
{
public interface IUploadService
{
2023-08-25 17:24:46 -05:00
List<Models.Attachment> UploadAttachment(int responseId,int answerId, int counter, List<IFormFile> postedFile);
List<Models.Attachment> UploadAttachment(int responseId, int counter, List<AnswerInfo> answers);
public List<Models.Attachment> UpdateAttachments(int responseId, List<AnswerInfo> answers, IEnumerable<Models.Attachment> attachments);
2023-12-01 17:36:15 -05:00
Task<byte[]> DownloadFile(string path);
2023-08-15 22:52:30 -05:00
void Deletefile(string path);
void Movefile(string path);
}
}