public virtual void Delete(int id)
        {
            using (var uow = _unitOfWorkManager.Begin(TransactionScopeOption.RequiresNew))
            {
                _dynamicPropertyStore.Delete(id);
                uow.Complete();
            }

            DynamicPropertyCache.Remove(id);
        }
        public virtual void Delete(int id)
        {
            using (var uow = _unitOfWorkManager.Begin(TransactionScopeOption.RequiresNew))
            {
                _dynamicPropertyStore.Delete(id);
                uow.Complete();
            }

            var tenantId = GetCurrentTenantId();
            var cacheKey = GetCacheKey(id, tenantId);

            DynamicPropertyCache.Remove(cacheKey);
        }