public int GetCount() { switch (AdsQueryType) { case AdsQueryType.AllAds: return(_mgr.Ads.Count); case AdsQueryType.AdsInCover: return(_mgr.GetAdsIncoverCount()); case AdsQueryType.Top5Ads: case AdsQueryType.Top5Brands: default: return(5); } }
public int GetCount() { switch (AdsQueryType) { case AdsQueryType.AllAds: return(_mgr.Ads.Count); case AdsQueryType.AdsInCover: return(_mgr.GetAdsIncoverCount()); case AdsQueryType.Top5Ads: case AdsQueryType.Top5Brands: default: return(5); } }