public JsonResult vComboPriceMenu()
        {
            MngCombo             cb       = new MngCombo();
            List <DropDownModal> lstPages = cb.GetSelectPage();

            return(Json(lstPages, JsonRequestBehavior.AllowGet));
        }
        public JsonResult vComboGetEventTimingType()
        {
            MngCombo cb       = new MngCombo();
            var      combolst = cb.GetEventTimingType();

            return(Json(combolst, JsonRequestBehavior.AllowGet));
        }
        public JsonResult vComboPriceMenu(int PriceMenuID)
        {
            MngCombo cb       = new MngCombo();
            var      combolst = cb.GetPriceMenu();

            DataTable dt    = cb.GetAllPriceMenu_ByPriceMenuID(PriceMenuID);
            string    price = dt.Rows[0]["Price"].ToString();

            return(Json(price, JsonRequestBehavior.AllowGet));
        }
        public ActionResult vComboPriceMenuAjax(int PriceMenuID)
        {
            MngCombo cb       = new MngCombo();
            var      combolst = cb.GetPriceMenu();

            combolst.Insert(0, new DropDownModal()
            {
                Text = "---Please Select---"
            });
            var data = combolst.Select(a => "<option value='" + (a.Value.ToString() == "0" ? "" : a.Value.ToString()) + "'>" + a.Text + "</option>");

            return(Content(String.Join("", data)));
        }