@{
ViewBag.Title = "Frontend to Backend Example";
}
<h1>Frontend to Backend Example</h1>
<form>
<label for="name">Name:</label>
<input type="text" id="name" required><br><br>
<label for="email">Email:</label>
<input type="email" id="email" required><br><br>
<button onclick="submitForm()">Submit</button>
</form>
@section Scripts {
<script src="~/Scripts/script.js"></script>
}