public async Task DeleteFileAsync(int documentId) { var document = await _repositoryWrapper.CityDocuments .GetFirstOrDefaultAsync(d => d.ID == documentId); await _cityFilesBlobStorage.DeleteBlobAsync(document.BlobName); _repositoryWrapper.CityDocuments.Delete(document); await _repositoryWrapper.SaveAsync(); }