feature: add blazor app

This commit is contained in:
2025-04-30 00:34:47 +02:00
parent c65e6ac140
commit 57e5119985
33 changed files with 774 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
using Microsoft.AspNetCore.Mvc.Rendering;
using System.ComponentModel.DataAnnotations;
namespace FahrzeugeMVC.Models;
public class FahrzeugEinfugenModel
{
[Required]
public string? Name { get; set; }
[Required]
public string? Type { get; set; }
public List<SelectListItem> FahrzeugTypen { get; private set; } = new()
{
new SelectListItem("Auto", "Auto", true),
new SelectListItem("Motorrad", "Motorrad"),
new SelectListItem("Fahrrad", "Fahrrad")
};
}