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