namespace: Serenity.Navigation assembly: Serenity.Net.Web
Tries to extract permission from a controller action
public static string GetPermissionFromController(Type controller, string action)
parameter | description |
---|---|
controller | Controller |
action | Action |
exception | condition |
---|---|
ArgumentNullException | Controller or action is null |
ArgumentOutOfRangeException | Action name is invalid |
- class NavigationLinkAttribute