Beispiel #1
0
 public List <String> selectChatUsers(String userID)
 {
     DAL.chattingDAO ctd = new DAL.chattingDAO();
     return(ctd.selectChatUsers(userID));
 }
Beispiel #2
0
 public int updateRead(String myID, String otherID)
 {
     DAL.chattingDAO ctd = new DAL.chattingDAO();
     return(ctd.updateRead(myID, otherID));
 }
Beispiel #3
0
 public String selectNewMessage(String myID, String otherID, DateTime lastTime)
 {
     DAL.chattingDAO ctd = new DAL.chattingDAO();
     return(ctd.selectNewMessage(myID, otherID, lastTime));
 }
Beispiel #4
0
 public int addMessage(String myID, String otherID, String content)
 {
     DAL.chattingDAO ctd = new DAL.chattingDAO();
     return(ctd.sendMessage(myID, otherID, content));
 }
Beispiel #5
0
 public List <Model.Chat> selectMessage(String myID, String otherID)
 {
     DAL.chattingDAO ctd = new DAL.chattingDAO();
     return(ctd.selectAllMessage(myID, otherID));
 }
Beispiel #6
0
 public Model.Chat selectRecentMessage(String myID, String otherID)
 {
     DAL.chattingDAO ctd = new DAL.chattingDAO();
     return(ctd.selectRecentMessage(myID, otherID));
 }