Exemple #1
0
 public bool hasCocktail(Cocktails coc)
 {
     foreach (Cocktails cocktail in favCocktails)
     {
         if (cocktail.cid == coc.cid)
         {
             return(true);
         }
     }
     return(false);
 }
Exemple #2
0
 public void addFavCocktail(Cocktails coc)
 {
     favCocktails.Add(coc);
 }