public RSS GetTagFeed(string tagName) { var feed = new RSS(); if (!string.IsNullOrEmpty(tagName)) feed.TagName = tagName; return feed; }
public RSS GetTagFeed(string tagName) { var feed = new RSS(); if (!string.IsNullOrEmpty(tagName)) { feed.TagName = tagName; } return(feed); }
public RSS GetFeed(string categoryName) { var feed = new RSS(); if (!String.IsNullOrEmpty(categoryName)) { var category = new CategoryController().GetCachedCategoryByLinkName(categoryName, false); feed.CategoryID = category.Id; feed.CategoryName = category.LinkName; } return(feed); }
public RSS GetFeed(string categoryName) { var feed = new RSS(); if (!String.IsNullOrEmpty(categoryName)) { var category = new CategoryController().GetCachedCategoryByLinkName(categoryName, false); feed.CategoryID = category.Id; feed.CategoryName = category.LinkName; } return feed; }