private void ShowApprovals()
 {
     if (approvalsList == null || approvalsList.Count < 1 || ifRefresh)
     {
         ShowProgressBar();
         Task.Factory.StartNew(() =>
         {
             //if(releasesList.Count == 0)
             //{
             //    approvalsList = VSTSService.GetApprovals();
             //}
             //else
             //{
             //    approvalsList = VSTSService.GetApprovals(releasesList);
             //}
             approvalsList = VSTSService.GetApprovals();
         }).ContinueWith(async(Task t) =>
         {
             await this.Dispatcher.RunAsync(Windows.UI.Core.CoreDispatcherPriority.Normal, () =>
             {
                 approvalsLV.ItemsSource = approvalsList;
                 HideProgressBar();
             });
         });
     }
     else
     {
         approvalsLV.ItemsSource = approvalsList;
         HideProgressBar();
     }
 }
 private void ShowApprovals()
 {
     ShowProgressBar();
     Task.Factory.StartNew(() =>
     {
         approvalsList = VSTSService.GetApprovals();
     }).ContinueWith(async(Task t) =>
     {
         await this.Dispatcher.RunAsync(Windows.UI.Core.CoreDispatcherPriority.Normal, () =>
         {
             //approvalsLV.ItemsSource = approvalsList;
             HideProgressBar();
         });
     });
 }