private void CheckChangeImg(ProductEntity pt) { var ptCache = _dicCacheProduct[pt.ID]; var hashImageNew = pt.GetHashImage(); var hashImageOld = ptCache.HashImage; if (hashImageNew != hashImageOld) { pt.StatusChange.IsChangeImage = true; } }