it's easy. just use GetEnumSelectList
html helper.
<select asp-for="Property.PropertyType" asp-items="Html.GetEnumSelectList<PropertyType>()" class="form-control">
<option selected></option>
</select>
it's easy. just use GetEnumSelectList
html helper.
<select asp-for="Property.PropertyType" asp-items="Html.GetEnumSelectList<PropertyType>()" class="form-control">
<option selected></option>
</select>