Esempio n. 1
0
        public List <string> GetSitePermissions(int siteId)
        {
            List <string> list;

            if (WebsitePermissionDict.TryGetValue(siteId, out list))
            {
                return(list);
            }
            return(new List <string>());
        }
Esempio n. 2
0
 public List <string> GetSitePermissions(int siteId)
 {
     return(WebsitePermissionDict.TryGetValue(siteId, out var list) ? list : new List <string>());
 }