feat(Documents) Notes/Docs page improvements and warning cleanup

This commit is contained in:
2022-04-07 13:30:00 -04:00
parent b270453030
commit d82e60efdf
223 changed files with 4396 additions and 2861 deletions
+4 -2
View File
@@ -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;