Esempio n. 1
0
        public List <FunctionInfo> GetFunctionsByRole(int roleID)
        {
            List <FunctionInfo> result = new List <FunctionInfo>();

            IFunctionService     service = CreateSubClient();
            ICommunicationObject comm    = service as ICommunicationObject;

            comm.Using(client =>
            {
                result = service.GetFunctionsByRole(roleID);
            });

            return(result);
        }