/// <summary>
        /// Get RegistrationNo ,Vehicle Id
        /// </summary>
        /// <returns></returns>
        public static TeamBooking_Allot GetRegistrationNo(int bookinid)
        {
            DataTable dt = new DataTable();
            TeamBooking_Allot team = new TeamBooking_Allot();
            TMSDataLibrary.TransporterBooking_Allot _team = new TMSDataLibrary.TransporterBooking_Allot();
            dt = _team.GetRequirementDetails(bookinid);
            if (dt.Rows.Count > 0)
            {
                team.RegistrationNo = dt.Rows[0][CONSTS.TransporterBooking_AllotMethodsColumnIndex.RegistrationNo].ToString();
                team.VehicleId = Convert.ToInt32(dt.Rows[0][CONSTS.TransporterBooking_AllotMethodsColumnIndex.VehicleTypeId]);

            }
            return team;
        }
 /// <summary>
 /// Get Vehicle List 
 /// </summary>
 /// <returns></returns>
 public static List<TeamBooking_Allot> GetVehicleList(int transporterid, int vehicleTypeId)
 {
     List<TeamBooking_Allot> vehicleList = new List<TeamBooking_Allot>();
     TMSDataLibrary.TransporterBooking_Allot _team = new TMSDataLibrary.TransporterBooking_Allot();
     DataTable dt = _team.GetVehicleList(transporterid, vehicleTypeId);
     if (dt.Rows.Count > 0)
     {
         for (int i = 0; i < dt.Rows.Count; i++)
         {
             TeamBooking_Allot _Team = new TeamBooking_Allot();
             _Team.RegistrationNo = (dt.Rows[i][CONSTS.TransporterBooking_AllotMethodsColumnIndex.Registration]).ToString();
             _Team.VehicleId = Convert.ToInt32(dt.Rows[i][CONSTS.TransporterBooking_AllotMethodsColumnIndex.TransporterVehicleId]);
             vehicleList.Add(_Team);
         }
     }
     return vehicleList;
 }
 /// <summary>
 /// Get Requirement Details
 /// </summary>
 /// <param name="bookingId"></param>
 /// <returns></returns>
 public static DataTable GetRequirementDetails(int bookingId)
 {
     TMSDataLibrary.TransporterBooking_Allot transportbooking = new TMSDataLibrary.TransporterBooking_Allot();
     return transportbooking.GetRequirementDetails(bookingId);
 }
 /// <summary>
 /// Get Customer Details
 /// </summary>
 /// <param name="bookingId"></param>
 /// <param name="userId"></param>
 /// <returns></returns>
 public static DataTable GetCustomerInfo(int bookingId, int userId)
 {
     TMSDataLibrary.TransporterBooking_Allot transportbooking = new TMSDataLibrary.TransporterBooking_Allot();
     return transportbooking.GetCustomerInfo(bookingId, userId);
 }
 /// <summary>
 /// Get Booking Information
 /// </summary>
 /// <returns>datatable of BookingInfo</returns>
 public static DataTable GetBookingInfo(int transporterid)
 {
     TMSDataLibrary.TransporterBooking_Allot transportbooking = new TMSDataLibrary.TransporterBooking_Allot();
     return transportbooking.GetBooking(transporterid);
 }