public async Task <IActionResult> ProductDetail(int Id)
        {
            var listcolor = await _productConnectAPI.GetAllColor();

            ViewBag.ListColor = listcolor.Select(x => new SelectListItem()
            {
                Text  = x.Name,
                Value = x.Id.ToString()
            }).ToList();
            var listsize = await _productConnectAPI.GetAllSize();

            ViewBag.ListSize = listsize.Select(x => new SelectListItem()
            {
                Text  = x.Name,
                Value = x.Id.ToString()
            }).ToList();
            ViewBag.ListReView = await _reViewProductConnectAPI.GetReViewOfProductById(Id);

            var user = User.Identity.Name;

            ViewBag.CheckUser = user;
            var product = await _productConnectAPI.ProductDetail(Id);

            var listImage = await _productImageConnectAPI.GetListProductImageByProductId(Id);

            ViewBag.ListImage   = listImage;
            ViewBag.ListBestSeo = await _productConnectAPI.ProductSeo(3); // Related products

            return(View(product));
        }
        public async Task <IActionResult> GetListProductImageByProductId(int Id)
        {
            var listImage = await _productImageConnectAPI.GetListProductImageByProductId(Id);

            return(Json(new
            {
                status = true,
                data = listImage
            }));
        }