• This function builds an array of IngredientInRecipe given the list of ingredient names and their quantity

    Parameters

    • selectedQuantities: IArray

      array of the quantity of specified by the user

    • selectedIngredients: string[]

      array of ingredient selected by the user

    Returns IngredientInRecipe[]

    an array of IngredientInRecipe