public async Task <IActionResult> DeleteS3Bucket([FromRoute] string bucketName)
        {
            var bucketExists = await _bucketRepository.DoesS3BucketExists(bucketName);

            if (!bucketExists)
            {
                return(NotFound());
            }

            await _bucketRepository.DeleteBucket(bucketName);

            return(Ok());
        }
Esempio n. 2
0
        public async Task <IActionResult> DeleteS3Bucket(string bucketName)
        {
            await _bucketRepository.DeleteBucket(bucketName);

            return(Ok());
        }