how to add element id to Html.BeginForm( code example
Example: html.beginform with form id
<form asp-controller="Account" asp-action="Register" method="post" id="signupform" role="form"></form>
<form asp-controller="Account" asp-action="Register" method="post" id="signupform" role="form"></form>