public async void GetTests() { var tests = await apiServices.GetAllExamsAsync(); foreach (Test t in tests) { testViewModel.TestListFromDatabase.Add(t); } }