public ActionResult chi_tiet_sp(FormCollection fc, string ids) { comment c = new comment(); c.comment_text = fc["comment_text"]; c.id_product = Convert.ToInt32(ids); c.id_user = Convert.ToInt32(fc["id_user"]); c.username = fc["username"]; ProductDetail productDetail = new ProductDetail(); productDetail.danh_gia(c, ids); return(RedirectToAction("chi_tiet_sp", "Home", new{ ids = c.id_product })); }