@model AspNetCoreMVC.Models.Person

@*MVC HTML Helper 예시*@
<div>
    @using (Html.BeginForm())
    {
        <div>
            @Html.LabelFor(p => p.Id)
            @Html.TextBoxFor(p => p.Id)
        </div>
        <div>
            @Html.LabelFor(p => p.Name)
            @Html.TextBoxFor(p => p.Name)
        </div>
        <input type="submit" value="Save"/>
    }
</div>

@*Core MVC Tag Helper 예시*@
<form asp-controller="Home" asp-action="Create" method="post">
    <div>
        <label asp-for="Id">Id:</label>
        <input asp-for="Id"/>
    </div>
    <div>
        <label asp-for="Name">Name:</label>
        <input asp-for="Name"/>
    </div>
    <input type="submit" value="Save"/>
</form>
