public static async Task <List <Ingredient> > GetIngredientsAsync(int recipeId) { List <Ingredient> ingredientList = new List <Ingredient>(); try { ingredientList = await IngredientDBAsync.GetsAsync(recipeId); } catch (Exception) { throw; } return(ingredientList); }