Пример #1
0
        public async Task DeleteFileAsync(Guid guid)
        {
            var file = await _filesRepository.GetFileAsync(guid);

            if (file != null)
            {
                _blobStorage.DeleteFile(file.Name);
                _filesRepository.DeleteFile(file);
            }
        }