35 lines
816 B
C#
35 lines
816 B
C#
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; }
|
|
}
|
|
} |