Your name

Your address

Payment methods [Add new]

@foreach (var paymentMethod in customer.PaymentMethods) {

@if (paymentMethod.MethodType == PaymentMethod.Type.CreditCard) { } else if (paymentMethod.MethodType == PaymentMethod.Type.HonourSystem) { Sure, we trust you to pay us somehow eventually }

}

@code { private Customer customer = new Customer(); void AddPaymentMethod() { customer.PaymentMethods.Add(new PaymentMethod()); } void SaveCustomer() { Console.WriteLine("TODO: Actually do something with the valid data"); } }