@using Abp.Collections.Extensions @using ShwasherSys.Authorization.Permissions @model ShwasherSys.Models.Layout.SideBarNavViewModel @{ var calculateMenuUrl = new Func((url) => { if (string.IsNullOrEmpty(url)) { return ApplicationPath; } if (UrlChecker.IsRooted(url)) { return url; } return ApplicationPath + url; }); }