public HtmlDocument RoutesByRole() { var list = AuthorizationWriter.BuildListOfRoles(_graph, (chain, tag) => { tag.Text(chain.RoutePattern); }); return(_writer.BuildDocument("Routes by Role", list)); }
public HtmlDocument ActionsByRole() { var list = AuthorizationWriter.BuildListOfRoles(_graph, (chain, tag) => { tag.Text(chain.Calls.Select(x => x.Description).Join(", ")); }); return(_writer.BuildDocument("Actions by Role", list)); }