public void GetLatestSetting(AspxCommonInfo aspxCommonObj) { AspxLatestItemsController objLatest = new AspxLatestItemsController(); LatestItemSettingInfo latestSetting = objLatest.GetLatestItemSetting(aspxCommonObj); if (latestSetting != null) { LatestItemRssCount = latestSetting.LatestItemRssCount; } }
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; } }