My route attribute is like below
[RouteArea("Settings")]
[RoutePrefix("Stores")]
public class SettingsMallStoresController : Controller
{
[HttpGet]
[Route("ExistingStores/{Permalink}")]
public ActionResult GetExistingStoreBranchesForSelectedHO(string permalink)
{
return View("ExistingStoreBranches");
}
}
I am trying to call this action from View using @html.action
@Html.Action("Settings/Stores/ExistingStores/{Permalink}",new{permalink=Somevalue})
Can't make it work in anyway.Please help