/// <summary> /// Used to get all TestResults and all Tests from DB /// </summary> public async void GetTests() { StudentTestResults.Clear(); AllTests.Clear(); try { StudentTestResults = await ApiHelper.Instance.GetTestResults(); AllTests = await ApiHelper.Instance.GetAllTests(); } catch (Exception exc) { await new MessageDialog(exc.Message).ShowAsync(); } DisplayAllTests(); }