Exemplo n.º 1
0
            public void PopulateAllergenCandidates()
            {
                List <string> intersection = IngredientLists[0];

                for (int i = 1; i < IngredientLists.Count(); i++)
                {
                    intersection = intersection.Intersect(IngredientLists[i]).ToList();
                }
                AllergenCandidates = intersection;
            }
Exemplo n.º 2
0
 public Client(HttpClient httpClient)
 {
     IngredientLists = new IngredientLists(httpClient);
 }