Initial commit

This commit is contained in:
2022-03-28 18:44:08 -04:00
commit e43d9a90e7
267 changed files with 17049 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
using System.Collections.Generic;
using System.Linq;
using Model.Website.Enums;
namespace Model.Website;
public class WebDescriptionModel {
public static readonly List<WebDescriptionModel> List = new();
public string Name { get; set; } = "Add Name";
public string Description { get; set; } = "Add description";
public string Parent { get; set; } = WebSectionType.None;
public bool IsPrivate { get; set; } = true;
public static IEnumerable<WebDescriptionModel> GetPages(string forSection) {
return from page in List
where page.Parent == forSection
select page;
}
}