コード例 #1
0
        public static WatercoolerMsgItem GetWatercoolerMsgItem(LoginUser loginUser, int messageID)
        {
            WatercoolerMsg watercoolerMsg = new WatercoolerMsg(loginUser);

            watercoolerMsg.LoadByMessageID(messageID);
            if (watercoolerMsg.IsEmpty)
            {
                return(null);
            }
            else
            {
                return(watercoolerMsg[0]);
            }
        }