I want to send some data when user clicks on this link
<a asp-action="ViewOthersProfile">@question.Questionaire</a>
and this is my action method
[HttpGet]
public ViewResult ViewOtherProfile()
{
return View("OtherProfile");
}
also,how we'll get it in action method. Thanks in advance
ViewOtherProfile( [FromQuery( Name = "data" )] String? data = null )