/// <summary>
 /// Download a specific attachment
 /// </summary>
 /// <param name="a">attachment to download</param>
 /// <returns>attachment data</returns>
 public async Task <byte[]> DownloadAttachmentAsync(Attachment a)
 {
     return(await _attachRepository.DownloadAttachment(a));
 }
Exemple #2
0
 /// <summary>
 /// Download a specific attachment
 /// </summary>
 /// <param name="a">attachment to download</param>
 /// <returns>attachment data</returns>
 public byte[] DownloadAttachment(Attachment a)
 {
     return(_attachRepository.DownloadAttachment(a));
 }