Beispiel #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]);
            }
        }
Beispiel #2
0
 public WatercoolerMsgItem(DataRow row, WatercoolerMsg watercoolerMsg) : base(row, watercoolerMsg)
 {
     _watercoolerMsg = watercoolerMsg;
 }