I've got a webpage that currently links to another page like this:
<a asp-action="Create">Create New</a>
I've tried this and it just sat on the page very happily, but didn't take me where I want to go:
<button asp-action="Create" class="btn btn-primary">Create</button>
How can I change this to use a button instead of a text link?
This should work:
<a asp-action="Create"><button class="btn btn-primary">Create</button></a>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With