Exemplo n.º 1
0
        public static ChatSetting GetChatSetting(LoginUser loginUser, int organizationID)
        {
            ChatSettings chatSettings = new ChatSettings(loginUser);

            chatSettings.LoadByOrganizationID(organizationID);
            if (chatSettings.IsEmpty)
            {
                return(null);
            }
            else
            {
                return(chatSettings[0]);
            }
        }
Exemplo n.º 2
0
 public ChatSetting(DataRow row, ChatSettings chatSettings) : base(row, chatSettings)
 {
     _chatSettings = chatSettings;
 }