/// <summary>
 /// 所有广告位
 /// </summary>
 /// <returns></returns>
 public static IList <AdsInfo> GetAllAdsInfo()
 {
     return(new CacheUtility <IList <AdsInfo> >().Get(KEY_ALLADSINFO, delegate()
     {
         AdsSiteService asDal = new AdsSiteService();
         return asDal.SelectAllAds();
     }, 60 * 12));
 }
 /// <summary>
 ///  所有网站信息缓存(12小时更新一次)
 /// </summary>
 /// <returns></returns>
 public static IList <SiteInfo> GetAllSiteList()
 {
     return(new CacheUtility <IList <SiteInfo> >().Get(KEY_ALLSITEINFO, delegate()
     {
         AdsSiteService adsSiteDal = new AdsSiteService();
         return adsSiteDal.SelectAllSite();
     }, 60 * 12));
 }