public ActionResult Sua(Discount dc)
        {
            ViewBag.DanhSachGiay = giayDAO.GetAll();
            ViewBag.DanhSachKH   = khDAO.getAll();
            var checkCodeExist = dcDAO.getDiscountBaseCode(dc.code, dc.discountId);

            if (checkCodeExist != null)
            {
                ModelState.AddModelError("", "Mã giảm giá đã tồn tại. Vui lòng chọn mã khác!");
                return(View());
            }
            bool res = dcDAO.update(dc);

            if (res)
            {
                return(RedirectToAction("Index"));
            }
            ModelState.AddModelError("", "Cập nhật xảy ra lỗi, vui lòng kiểm tra lại");
            return(View());
        }