/// <summary>
 /// Executes the add shopping basket command
 /// </summary>
 private void AddItemExecute()
 {
     try
     {
         AddIngredientAmountToRecipe addIngredientWindow = new AddIngredientAmountToRecipe(Ingredient);
         addIngredientWindow.ShowDialog();
         // Refresh the list
         IngrediantAmountList = shoppingData.GetAllSelectedShoppingBasketItems(LoggedGuest.ID);
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.ToString());
     }
 }
 /// <summary>
 /// Executes the add ingredient amount command
 /// </summary>
 private void AddItemExecute()
 {
     try
     {
         AddIngredientAmountToRecipe addIngredientWindow = new AddIngredientAmountToRecipe(Ingredient, recipeID);
         addIngredientWindow.ShowDialog();
         // Refresh the list
         IngrediantAmountList      = recipeData.GetAllSelectedRecipeIngrediantAmount(RecipeID);
         IngrediantAmountListCount = IngrediantAmountList.Count();
         if (IngrediantAmountList.Count > 0)
         {
             addIngredientToRecipe.gridIngredientItem.Visibility = Visibility.Visible;
             addIngredientToRecipe.msgNoItems.Visibility         = Visibility.Collapsed;
         }
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.ToString());
     }
 }