public static int AddMessage(Message obj) { int result; TMSDataLibrary.Message objMsg = new TMSDataLibrary.Message(); result = objMsg.AddMessege(obj.BookingId, obj.ToId, obj.FromId, obj.Messagee); return result; }
public static DataTable GetMessege(int bookingId) { TMSDataLibrary.Message objMsg = new TMSDataLibrary.Message(); return objMsg.GetMessege(bookingId); }