public JsonResult GetFoodMenuByCategory(int categoryId) { FoodMenuIngredientModel foodMenuIngredientModel = new FoodMenuIngredientModel(); foodMenuIngredientModel.FoodMenuList = _iDropDownService.GetFoodMenuListByCategory(categoryId); return(Json(new { foodMenuIngredientModel.FoodMenuList })); }