in my view I have simple table with link to product:
<td>@Html.ActionLink("View details", "Open","Home",new { id = product.Id, url = product.Url })</td>
In my controller, I am doing some stuff with received data:
public ActionResult Open(int id, string url)
{
productService.AddUserVisit(id);
return RedirectToAction("Index");
}
And after all I am refreshing page. What I want to do is to open passed url
in next page. How can I do that?