public async Task DisposeAsync()
        {
            var tasks = new List <Task>();

            foreach (var profilePicture in _profilePicturesToCleanup)
            {
                tasks.Add(_chatServiceClient.DeleteImage(profilePicture));
            }
            await Task.WhenAll(tasks);
        }
        public async Task DisposeAsync()
        {
            var tasks = new List <Task>();

            foreach (var image in _imagesToCleanup)
            {
                var task = _imageServiceClient.DeleteImage(image.ImageId);
                tasks.Add(task);
            }

            await Task.WhenAll(tasks);
        }