2023-08-15 22:52:30 -05:00
|
|
|
|
using Azure.Storage.Blobs.Models;
|
2023-10-04 12:37:44 -05:00
|
|
|
|
using DamageAssesment.Api.Attachments.Models;
|
2023-08-15 22:52:30 -05:00
|
|
|
|
|
|
|
|
|
namespace DamageAssesment.Api.Attachments.Interfaces
|
|
|
|
|
{
|
|
|
|
|
public interface IAzureBlobService
|
|
|
|
|
{
|
|
|
|
|
Task<List<Azure.Response<BlobContentInfo>>> UploadFiles(List<IFormFile> files);
|
2023-10-04 12:37:44 -05:00
|
|
|
|
Task<List<Attachment>> UploadAttachment(int responseId, int answerId, int counter, List<IFormFile> postedFile);
|
|
|
|
|
Task<List<Attachment>> UploadAttachment(int responseId, int counter, List<AnswerInfo> answers);
|
|
|
|
|
Task<List<Attachment>> UpdateAttachments(int responseId, List<AnswerInfo> answers, IEnumerable<Models.Attachment> attachments);
|
|
|
|
|
void Deletefile(string path);
|
|
|
|
|
void Movefile(string path);
|
2023-08-15 22:52:30 -05:00
|
|
|
|
}
|
|
|
|
|
}
|