public IActionResult showProductDetail(int product_id) { var product = new ProductsModel(); ViewBag.product = product.showProductDetail(product_id); return(View("~/Views/User/DetailProduct.cshtml")); }
public IActionResult showProductDetail(int product_id) { var product = new ProductsModel(); ViewBag.product = product.showProductDetail(product_id); return(View("~/Views/User/DetailProduct.cshtml")); }