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