Exemple #1
0
        private async Task LoadRecipesAsync()
        {
            IsLoading = true;
            Recipes   = await APIConsumer.GetRecipesAsync();

            foreach (var recipe in Recipes)
            {
                recipe.LoadChildrenCommand.Execute(null);
            }
            IsLoading = false;
        }
 private async Task LoadChildrenAsync()
 {
     Children = await APIConsumer.GetRecipesAsync(RecipeID);
 }