示例#1
0
        public static ChatParticipant GetChatParticipant(LoginUser loginUser, int chatParticipantID)
        {
            ChatParticipants chatParticipants = new ChatParticipants(loginUser);

            chatParticipants.LoadByChatParticipantID(chatParticipantID);
            if (chatParticipants.IsEmpty)
            {
                return(null);
            }
            else
            {
                return(chatParticipants[0]);
            }
        }