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 CreateUpdateAttachment (Infrastructure.Entities.Account.Attachment attachment); Task GetAttachmentById(User user); Task GetAllAttachment(User user); Task> GetAttachmentByType(User user, int fileType); Task DeleteSignatureAsync(int id); } }