public void GetLatestSetting(AspxCommonInfo aspxCommonObj) { AspxLatestItemsController objLatest = new AspxLatestItemsController(); LatestItemSettingInfo latestSetting = objLatest.GetLatestItemSetting(aspxCommonObj); if (latestSetting != null) { LatestItemRssCount = latestSetting.LatestItemRssCount; } }
public List<LatestItemRssInfo> GetLatestRssFeedContent(AspxCommonInfo aspxCommonObj, int count) { try { AspxLatestItemsController objLatestItem = new AspxLatestItemsController(); List<LatestItemRssInfo> itemRss = objLatestItem.GetLatestRssFeedContent(aspxCommonObj, count); return itemRss; } catch (Exception ex) { throw ex; } }
public void LatestItemSettingUpdate(string SettingValues, string SettingKeys, AspxCommonInfo aspxCommonObj) { try { AspxLatestItemsController objLatestItems = new AspxLatestItemsController(); objLatestItems.LatestItemSettingUpdate(SettingValues, SettingKeys, aspxCommonObj); } catch(Exception e) { throw e; } }
public List<LatestItemsInfo> GetLatestItemsList(AspxCommonInfo aspxCommonObj, int count) { try { AspxLatestItemsController objLatestItems = new AspxLatestItemsController(); List<LatestItemsInfo> LatestItems = objLatestItems.GetLatestItemsByCount(aspxCommonObj, count); return LatestItems; } catch (Exception e) { throw e; } }
public LatestItemSettingInfo GetLatestItemSetting(AspxCommonInfo aspxCommonObj) { try { AspxLatestItemsController objLatestItems = new AspxLatestItemsController(); LatestItemSettingInfo objLatestSetting = new LatestItemSettingInfo(); objLatestSetting = objLatestItems.GetLatestItemSetting(aspxCommonObj); return objLatestSetting; } catch (Exception e) { throw e; } }
private void GetLatestRssFeed(AspxCommonInfo aspxCommonObj) { try { string pageURL = Request.Url.AbsoluteUri; AspxLatestItemsController objLatest = new AspxLatestItemsController(); List<LatestItemRssInfo> lstLatestItemRss = objLatest.GetLatestRssFeedContent(aspxCommonObj, LatestItemRssCount); BindLatestItemRss(lstLatestItemRss, aspxCommonObj); } catch (Exception ex) { ProcessException(ex); } }