Asp.net mvc 5 MVC 5与区域的ActionLink

Asp.net mvc 5 MVC 5与区域的ActionLink,asp.net-mvc-5,actionlink,asp.net-mvc-areas,Asp.net Mvc 5,Actionlink,Asp.net Mvc Areas,如何使用@Html.ActionLink创建此链接 服务是RouteArea,客户是RoutePrefix,客户是控制器 @ActionLink(“单击我”、“调用我”、新建{area=“Services”}) 这个代码对吗?它返回空白锚 [RouteArea("Services")] [RoutePrefix("Customers")] public class CustomerController : Controller { [Route("~/Test")] publi

如何使用@Html.ActionLink创建此链接

服务是RouteArea,客户是RoutePrefix,客户是控制器

@ActionLink(“单击我”、“调用我”、新建{area=“Services”}) 这个代码对吗?它返回空白锚

[RouteArea("Services")]
[RoutePrefix("Customers")]

public class CustomerController : Controller
{
    [Route("~/Test")]
    public ActionResult Index()
    {
        ViewBag.Controller = "Customer";
        ViewBag.Action = "Index";
        return View("ActionName");
    }
    [Route("CallMe")]
    public string CallMeFunction()
    {
        return string.Format("CallMeFunction() invoked");
    }
  }