Ejemplo n.º 1
0
        private async Task <bool> RemoveBlob(ILogger log, string fileName, string stopId, string runId)
        {
            try
            {
                log.LogInformation($"Removing blob: {stopId} : {runId}");
                await blobUtilities.DeleteBlobJson(fileName, _blobContainerClient);

                return(true);
            }
            catch (Exception ex)
            {
                log.LogError($"Exception: {ex} --> occurred during DeleteBlob with stop id {stopId} : {runId}");
                return(false);
            }
        }