@section AdditionalJavaScript {
    @await Html.PartialAsync("_ValidationScriptsPartial")
}
 
<h2>Add Record</h2>
@Html.ValidationSummary(true)
<div>
    @await Html.PartialAsync("_AddEditProductsPartial")
</div>