public ActionResult DiscountEdit(DiscountsModel model)
        {
            if (ModelState.IsValid)
            {
                _serviceDiscounts.Update(model.ModelToEnity(true));
            }

            return RedirectToAction("DiscountList");
        }
        public ActionResult DiscountInsert(DiscountsModel model)
        {
            if (ModelState.IsValid)
            {
                _serviceDiscounts.Insert(model.ModelToEnity());
            }

            return RedirectToAction("DiscountList");
        }