/// <summary> /// Gets the sites featured post for the specified category name /// </summary> /// <param name="categoryName"></param> /// <returns></returns> public Post Featured(string categoryName) { return(Data.Featured(GetCategory(categoryName))); }
/// <summary> /// Gets the sites featured post for the specified category Id /// </summary> /// <param name="categoryId"></param> /// <returns></returns> public Post Featured(int categoryId) { return(Data.Featured(new CategoryController().GetCachedCategory(categoryId, true))); }