public async Task ExpandAsync() { try { IsBusy = true; var buckets = await _account.ListBucketsAsync(); Buckets = new ObservableCollection <BucketViewModel>(buckets.Select(n => new BucketViewModel(n))); } finally { IsBusy = false; } }
public async Task ExpandAsync() { try { IsBusy = true; var buckets = await _account.ListBucketsAsync(); Buckets = new ObservableCollection <BucketViewModel>(buckets.Select(n => new BucketViewModel(n))); } finally { IsBusy = false; } }