public ActionResult Index(string returnUrl)
        {
            var model = new DelDiscModel
            {
                ReturnUrl = returnUrl
            };

            return(View(model));
        }
        public ActionResult Index(DelDiscModel model)
        {
            if (!ModelState.IsValid)
            {
                return(View());
            }

            DiscountLogic nwdsc = new DiscountLogic();
            string        res   = nwdsc.delete(Int32.Parse(model.DiscountID));

            // Don't do this in production!


            // user authN failed
            ModelState.AddModelError("", res);
            return(View());
        }