public SanPhamModel Chitietsanpham(string link)
        {
            var kq = isp.GetSPbyID(link);

            if (kq != null)
            {
                kq.dsgiaban = isp.GetGiaBans(kq.MaSanPham);
                foreach (var item in kq.dsgiaban)
                {
                    item.revenue = isp.getRevenue(item.MaGB);
                }
                kq.giahientai = isp.Getgiahientai(kq.MaSanPham);
                kq.kho        = isp.Getkhobysp(kq.MaSanPham);
                kq.danhmuc    = isp.getloaibySanPham(kq.MaSanPham);
                kq.loaicon1   = isp.getloai1bySanPham(kq.MaSanPham);
                kq.loaicon2   = isp.getloai2bySanPham(kq.MaSanPham);
            }
            return(kq);
        }