public static int SendPrivateMessage(int userId, int toUserId, string message, string connectionId) { TMSDataLibrary.Chat objChat = new TMSDataLibrary.Chat(); return objChat.SendPrivateMessage(userId, toUserId, message, connectionId); }
public static DataTable Connect(string userName) { TMSDataLibrary.Chat objChat = new TMSDataLibrary.Chat(); return objChat.Connect(userName); }
public static DataTable getAllMessage() { TMSDataLibrary.Chat objChat = new TMSDataLibrary.Chat(); return objChat.getAllMessage(); }
public static int AddMessageinDatabase(string userName, string userid, string message, string connectionId) { TMSDataLibrary.Chat objChat = new TMSDataLibrary.Chat(); return objChat.AddMessageinDatabase(userName, userid, message, connectionId); }