private async Task ExecuteLoadRecipeMatchesCommand() { if (IsBusy) { return; } IsBusy = true; try { RecipeMatches.Clear(); List <RecipeMatch> recipeMatches = await RecipeController.SearchRecipesByIngredientsAsync(Ingredients, 10); foreach (RecipeMatch match in recipeMatches) { RecipeMatches.Add(match); } } catch (Exception ex) { Debug.WriteLine(ex); } finally { IsBusy = false; } }