Example #1
0
        public List <ConferenceUserListModel> GetUsersAttendMeet(int meetCode)
        {
            ConferenceUserListQueryModel queryModel = new ConferenceUserListQueryModel();

            queryModel.ConferenceCodeEqual = meetCode;
            ConferenceUserListBFL tbfl = new ConferenceUserListBFL();

            return(tbfl.GetConferenceUserListList(queryModel));
        }
Example #2
0
        public string UserListString(int meetCode)
        {
            StringBuilder builder = new StringBuilder();
            ConferenceUserListQueryModel queryModel = new ConferenceUserListQueryModel();

            queryModel.ConferenceCodeEqual = meetCode;
            List <ConferenceUserListModel> conferenceUserListList = new ConferenceUserListBFL().GetConferenceUserListList(queryModel);

            foreach (ConferenceUserListModel model2 in conferenceUserListList)
            {
                if (!model2.UserCode.Equals(string.Empty))
                {
                    builder.Append(model2.UserCode + ",");
                }
            }
            int length = builder.Length;

            if (length > 0)
            {
                builder.Remove(length - 1, 1);
            }
            return(builder.ToString());
        }