private async void DeleteExercise() { var service = new ExerciseService(); bool result = await service.DeleteVocabularyExerciseAsync(Exercise); if (result) { NavigationService.GoBack(); } }