Exemple #1
0
        /// <summary>
        /// Adds recipes to meal
        /// </summary>
        /// <param name="mealid"> Meal id</param>
        /// <param name="recid">Recipe id</param>
        /// <example>/CalendarScreen/AddRecipeForMeal?mealid=2&recid=6</example>
        public void AddRecipeForMeal(int mealid, int recid)
        {
            SpeedyChefDataContext scdc = new SpeedyChefDataContext();

            scdc.AddRecipe(mealid, recid);
        }