public IReadOnlyList <GroupInfo> GetGroups()
        {
            ConfigurationManager CM = WorkflowModule.GetManager <ConfigurationManager>("");
            var ret = CM.GetAllGroups();

            return(ret);
        }
Пример #2
0
        public async Task <IReadOnlyList <GroupInfo> > GetGroupsAsync()
        {
            var wfCon = await WorkflowModule.ConnectAsync();

            ConfigurationManager CM = wfCon.GetManager <ConfigurationManager>();
            var ret = CM.GetAllGroups();

            return(ret);
        }