private async void NavToStudent() { ClockViewModel = _clockViewModel; CurrentViewModel = _studentViewModel; try { _studentViewModel.LoadStudents(); _studentViewModel.OnClear(); } catch (Exception error) { var result = await DialogHelper.ShowDialog(DialogType.Error, "Something went wrong. Please try again."); Logger.Error(error); } }