private static CachedFeaturedAd FetchFeaturedAd()
{
CachedFeaturedAd feature = null;
/*
AdsDataComponent.AdsDataTable table = AdsDB.GetFeaturedAdsSelection(1);
if (table != null && table.Rows.Count > 0)
{
AdsDataComponent.AdsRow featuredAd = table.Rows[0] as AdsDataComponent.AdsRow;
feature = new CachedFeaturedAd(featuredAd.Id, featuredAd.PreviewImageId, featuredAd.Title);
}*/
feature = new CachedFeaturedAd (1, 1, "titel");
return feature;
}
}