UrlHelperExtensions.Action Method

Namespace:
Weavy.Web.Extensions
Assembly:
Weavy.Web.dll

Action(UrlHelper, Expression>)

Helper method for generating urls to strongly typed actions.

public static string Action<TController>(this UrlHelper helper, Expression<Action<TController>> expression)

    where TController : Controller

Parameters

helper
System.Web.Mvc.UrlHelper

The URL helper instance that this method extends.

expression
System.Linq.Expressions.Expression>>

Returns

string