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