예제 #1
0
 public static DataTable GetBookings(int bookingId)
 {
     var post = new TMSDataLibrary.Post();
     return post.GetBookings(bookingId);
 }
예제 #2
0
 /// <summary>
 /// Gets multiple bookings on the basis of Id and Type Passed.
 /// </summary>
 /// <param name="userid">User Id</param>
 /// <param name="type">Pass type to filter bookings on the basis. Type - UserId, BookingId</param>
 /// <returns></returns>
 public static DataTable GetBookings(int userid, int count)
 {
     var post = new TMSDataLibrary.Post();
     return post.GetBookings(userid, count);
 }