You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
816 B
35 lines
816 B
namespace Website.Data; |
|
|
|
public static class Overview |
|
{ |
|
public static Data Get() |
|
{ |
|
return new Data |
|
{ |
|
Parts = |
|
[ |
|
new Part |
|
{ |
|
IsVisible = true, |
|
Order = 1, |
|
Description = |
|
"Software Developer with a focus on the .NET tech stack.", |
|
LastModified = new DateTime(2025, 9, 8) |
|
} |
|
] |
|
}; |
|
} |
|
|
|
public class Data |
|
{ |
|
public List<Part> Parts { get; set; } |
|
} |
|
|
|
public class Part |
|
{ |
|
public bool IsVisible { get; set; } |
|
public int Order { get; set; } = 9999; |
|
public required string Description { get; set; } |
|
public DateTime LastModified { get; set; } |
|
} |
|
} |