示例#1
0
 public async Task <bool> DeleteFile(string key)
 {
     try
     {
         return(await _awss3BucketHelper.DeleteFile(key));
     }
     catch (Exception e)
     {
         throw new Exception(e.Message);
     }
 }
示例#2
0
 public async Task <bool> DeleteFile(string bucketName, string key)
 {
     try
     {
         return(await _AWSS3BucketHelper.DeleteFile(bucketName, key));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }