private async Task Delete(ImageUploadModel uploadDb)
        {
            try
            {
                this.logger.LogInformation($"Deleting a record with id {uploadDb.Id} and expiration date {uploadDb.ExpiresAt.Value}");

                // Delete files
                this.fileService.Delete(uploadDb.GetAllFilePaths());

                // Delete a DB record
                await this.imageUploadRepository.Delete(uploadDb.Id);
            }
            catch (Exception ex)
            {
                this.logger.LogError(ex, ex.Message);
            }
        }