21 lines
685 B
C#
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);
|
|
}
|
|
}
|