Example #1
0
        public IDictionary <string, SimpleListDisplayInfo> GetListInfo(params string[] args)
        {
            Dictionary <string, SimpleListDisplayInfo> dict = new Dictionary <string, SimpleListDisplayInfo>();

            IList <UserAccount> userAccounts = EndpointUserDao.Get();

            if (!CollectionUtils.IsNullOrEmpty(userAccounts))
            {
                foreach (UserAccount userAccount in userAccounts)
                {
                    string name = userAccount.NaasAccount;
                    dict.Add(userAccount.NaasAccount, new SimpleListDisplayInfo(name, string.Empty));
                }
            }

            return(dict);
        }