//
        // GET: /Ingredients/
        public ActionResult Index()
        {
            var ingredientList = _ingredientApplicationService.GetAllIngredients();

            ViewData.Model = ingredientList;
            //return View(ingredientList);
            return(View());
        }
        public ActionResult CreateProduct()
        {
            InitViewData();

            ViewData["Ingredients"] = _ingredientApplicationService.GetAllIngredients();

            return(View());
        }
        public ActionResult Create(int?id)
        {
            var ingredients = _ingredientApplicationService.GetAllIngredients();

            ViewData["Ingredients"] = new SelectList(ingredients, "Id", "IngredientName", id);;
            ViewData["Semaphores"]  = _semaphoreApplicationService.GetAllSemaphores();
            SetAdviceTagViewData();
            return(View());
        }