public ViewResult Detail(int id)
        {
            ECommerceEntities entities = new ECommerceEntities();
            Product           product  = entities.Product.Where(x => x.ProductID == id).FirstOrDefault();

            if (id == null || product == null)
            {
                return(View(new ProductX()));
            }
            productDetail2 = ProductX.GetProduct(id);
            return(View(productDetail2));
        }
 public ViewResult List2(int?id2)
 {
     productDetail = ProductX.GetProduct(1);
     return(View(productDetail));
 }