private async void GetAllRecipe(SingleRecipe res) { await GetIngredients(res.id); await GetInstructions(res.id); SlctdResult = res.title; BindingContext = this; }
public RecipeDetail(SingleRecipe res) { Ingredient = new List <Ingredient>(); Instructions = new Instructions(); SpoonacularService = new SpoonacularService(); InitializeComponent(); CheckedFav(res.id); GetAllRecipe(res); }