Exemple #1
0
        /// <summary>
        /// Inserts recipe with meal
        /// </summary>
        /// <param name="mealId">Meal id to add recipe with</param>
        /// <param name="recId">Recipe id to add meal to</param>
        /// <example>/CalendarScreen/InsertRecForMeal?mealId=13&recId=2</example>
        public void InsertRecForMeal(int mealId, int recId)
        {
            SpeedyChefDataContext scdc = new SpeedyChefDataContext();

            scdc.InsertRecipeForMeal(mealId, recId);
        }