how to use actionlink in mvc core

1 Answers

  1. Aditya Kumar Patel
    use actionlink in mvc core Ankit Kumar
    7/11/2018 8:23:00 AM

    use  mvc core action link:

    <a asp-controller="Account" asp-action="SignUp"> Click here </a>

    use  mvc core action link with parameter:

    <a asp-controller="Account" asp-action="User" asp-route-id="10"> Profile</a>

Leave a answer

Make sure you enter the (*) required information where indicated. HTML code is not allowed.

You may also like