コード例 #1
0
        public JsonResult GetFoodMenuByCategory(int categoryId)
        {
            FoodMenuIngredientModel foodMenuIngredientModel = new FoodMenuIngredientModel();

            foodMenuIngredientModel.FoodMenuList = _iDropDownService.GetFoodMenuListByCategory(categoryId);
            return(Json(new { foodMenuIngredientModel.FoodMenuList }));
        }