feat(Documents) Notes/Docs page improvements and warning cleanup
This commit is contained in:
@@ -4,7 +4,8 @@ using Model.Website.Enums;
|
||||
|
||||
namespace Model.Website;
|
||||
|
||||
public class WebDescriptionModel {
|
||||
public class WebDescriptionModel
|
||||
{
|
||||
public static readonly List<WebDescriptionModel> List = new();
|
||||
|
||||
public string Name { get; set; } = "Add Name";
|
||||
@@ -12,7 +13,8 @@ public class WebDescriptionModel {
|
||||
public string Parent { get; set; } = WebSectionType.None;
|
||||
public bool IsPrivate { get; set; } = true;
|
||||
|
||||
public static IEnumerable<WebDescriptionModel> GetPages(string forSection) {
|
||||
public static IEnumerable<WebDescriptionModel> GetPages(string forSection)
|
||||
{
|
||||
return from page in List
|
||||
where page.Parent == forSection
|
||||
select page;
|
||||
|
||||
Reference in New Issue
Block a user