public ActionResult ModalRegister(int ID) { DangkisanphamModel model = new DangkisanphamModel(); var temp = model.createDangKiSanPham(User.Identity.Name, ID); return(View(temp)); }
public ActionResult RegisterProduct(DangkisanphamModel a) { if (new DangkisanphamModel().ThemDanhKi(a)) { Session["TB"] = true; } else { Session["TB"] = false; } return(RedirectToAction("ChitietSanphamAuction", new { spcm = a.MaSPCM })); }
public ActionResult DanhsachNCCDK(int IDSPCM) { var ds = new DangkisanphamModel().getDSDKNCC(IDSPCM); return(View(ds)); }