using Domain; using Microsoft.AspNetCore.Mvc; namespace Deathwatch.Pages { public partial class Character { [BindProperty] public Player? Player { get; set; } protected override void OnInitialized() { base.OnInitialized(); Player = new Player { Name = "John Doe", CharacterName = "Hero", Background = "Warrior", Experience = 1000, CC = 10, CT = 15, F = 20, E = 25, AG = 30, INT = 35, PER = 40, FM = 45, SOC = 50, MF = 55, CreatedDate = DateTime.Now.AddYears(-1), ModifiedDate = DateTime.Now }; } } }