I have this "Receive" button, and this checkbox that when checked, means that the account is removed:
IneeditwhenitclicksthebuttonReceive,andthecheckboxisalreadychecked,thatitnotifiesthattheaccounthasalreadybeenreceived,anddoesnotredirectthepage,Thisisthereceivebuttoncode:
<aasp-page="Recebimento" asp-route-id="@item.Id" class="btn btn-sm btn-warning">Receber</a>
How can I make an if within the button?