NonInventPurchasingSystem/CPRNIMS.Domain/UIContracts/Attachment/IAttachment.cs
2026-01-20 07:44:30 +08:00

21 lines
685 B
C#

using CPRNIMS.Infrastructure.Dto.Attachement;
using CPRNIMS.Infrastructure.Models.Account;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CPRNIMS.Domain.UIContracts.Attachment
{
public interface IAttachment
{
Task<Infrastructure.Entities.Account.Attachment> CreateUpdateAttachment
(Infrastructure.Entities.Account.Attachment attachment);
Task<string> GetAttachmentById(User user);
Task<string> GetAllAttachment(User user);
Task<List<AttachResponseDto>> GetAttachmentByType(User user, int fileType);
Task DeleteSignatureAsync(int id);
}
}