Example #1
0
 public static User_PK_Role_s_Service instance()
 {
     if (_instance == null)
     {
         _instance = new User_PK_Role_s_Service();
     }
     return(_instance);
 }
        public IEnumerable <Role> GetEnumByUID(Guid uid)
        {
            List <Role> roles = new List <Role>();

            User_PK_Role_s_Service.instance().GetEnumByUID(uid).Each(m =>
            {
                roles.Add(this.Single(m.Role_ID));
            });
            return(roles);
        }