public async Task <List <AttachmentEntity> > GetAttachmentByHeaderId(int headerId)
 {
     try
     {
         return(await attachmentRepository.GetAttachmentByHeaderId(headerId));
     }
     catch (Exception e)
     {
         throw e;
     }
 }