Esempio n. 1
0
        public static ChatUserSetting GetChatUserSetting(LoginUser loginUser, int userID)
        {
            ChatUserSettings chatUserSettings = new ChatUserSettings(loginUser);

            chatUserSettings.LoadByUserID(userID);
            if (chatUserSettings.IsEmpty)
            {
                return(null);
            }
            else
            {
                return(chatUserSettings[0]);
            }
        }
Esempio n. 2
0
 public ChatUserSetting(DataRow row, ChatUserSettings chatUserSettings) : base(row, chatUserSettings)
 {
     _chatUserSettings = chatUserSettings;
 }