示例#1
0
        public List <string> GetAllMeetRoomCode()
        {
            List <string>        list         = new List <string>();
            List <MeetRoomModel> meetRoomList = new List <MeetRoomModel>();

            meetRoomList = new MeetRoomBFL().GetMeetRoomList(null);
            foreach (MeetRoomModel model in meetRoomList)
            {
                list.Add(model.Code.ToString());
            }
            return(list);
        }
示例#2
0
        public List <MeetRoomBOX> GetRoomList()
        {
            List <MeetRoomBOX>   list         = new List <MeetRoomBOX>();
            MeetRoomBOX          item         = new MeetRoomBOX();
            List <MeetRoomModel> meetRoomList = new MeetRoomBFL().GetMeetRoomList(new MeetRoomQueryModel());

            foreach (MeetRoomModel model in meetRoomList)
            {
                item          = new MeetRoomBOX();
                item.RoomCode = model.Code;
                item.RoomName = model.RoomName;
                list.Add(item);
            }
            return(list);
        }
示例#3
0
        public static string GetMeetRoomName(string roomCode)
        {
            MeetRoomBFL mbfl = new MeetRoomBFL();

            return(mbfl.GetMeetRoom(int.Parse(roomCode)).RoomName);
        }