Beispiel #1
0
        public IList <UserRoleXref> GetUserRolesByUserId(int userId)
        {
            var command = new GetUserRolesByUserId(userId);

            command.Execute();
            return(command.Result);
        }
Beispiel #2
0
        private IList <UserRoleXref> GetExistingUserRoles()
        {
            var command = new GetUserRolesByUserId(_user.UserId);

            command.Execute();
            return(command.Result);
        }