public ActionResult ModalRegister(int ID)
        {
            var model = new DangKySanPhamModel();
            var temp  = model.createDangKiSanPham(User.Identity.Name, ID);

            return(View(temp));
        }
        public ActionResult RegisterProduct(DangKySanPhamModel a)
        {
            if (new DangKySanPhamModel().ThemDanhKi(a))
            {
                Session["TB"] = true;
            }
            else
            {
                Session["TB"] = false;
            }

            return(RedirectToAction("ChitietSanphamAuction", new { spcm = a.MaSPCM }));
        }
        public ActionResult DanhsachNCCDK(int IDSPCM)
        {
            var ds = new DangKySanPhamModel().getDSDKNCC(IDSPCM);

            return(View(ds));
        }