Exemple #1
0
        public void RemoveAce(int tenant, AzRecord r)
        {
            service.RemoveAce(tenant, r);
            var aces = cache.Get(GetKey(tenant)) as AzRecordStore;

            if (aces != null)
            {
                lock (aces)
                {
                    aces.Remove(r);
                }
            }
        }
 public void RemoveAce(int tenant, AzRecord r)
 {
     service.RemoveAce(tenant, r);
     cacheNotify.Publish(r, CacheNotifyAction.Remove);
 }
 public void RemoveAce(AzRecord r)
 {
     service.RemoveAce(TenantManager.GetCurrentTenant().TenantId, r);
 }