[Solved] multiple User.IsInRole on same page


If I understood your intent I would use for example (my understanding is that you want to render a list of actions with a | character between each action) :

@Html.ActionLink(“Edit”, “Edit”, new { id = category.id }) |

text is a Razor syntax to force switching back to the HTML context.

solved multiple User.IsInRole on same page