Exemple #1
0
 public static AdPlaceInfo GetCacheAdPlaceById(int intPlaceID)
 {
     return((from p in AdPlace.GetCacheAdPlaces()
             where p.AutoID.Equals(intPlaceID)
             select p).FirstOrDefault <AdPlaceInfo>());
 }
Exemple #2
0
 public static IList <AdPlaceInfo> GetCurrCacheAdPlaces()
 {
     return((from p in AdPlace.GetCacheAdPlaces()
             where p.Lang.Equals(JObject.cultureLang)
             select p).ToList <AdPlaceInfo>());
 }