Beispiel #1
0
        public override bool Update(AdvertisementInfo adInfo)
        {
            var updated = base.Update(adInfo);

            AdvertisementManager.RemoveCache(adInfo.SiteId);
            return(updated);
        }
Beispiel #2
0
 public void Delete(int siteId, int advertisementId)
 {
     base.Delete(advertisementId);
     AdvertisementManager.RemoveCache(siteId);
 }
Beispiel #3
0
 public override int Insert(AdvertisementInfo adInfo)
 {
     adInfo.Id = base.Insert(adInfo);
     AdvertisementManager.RemoveCache(adInfo.SiteId);
     return(adInfo.Id);
 }