Exemplo n.º 1
0
 /// <summary>
 /// Get All Posts on the basis of FromCity, ToCity And LoadType.
 /// </summary>
 /// <param name="fromCityId">Source City of booking.</param>
 /// <param name="toCityId">Destination City of booking.</param>
 /// <param name="loadTypeId">Full Load or Partial Load.</param>
 /// <returns></returns>
 public static DataTable GetPost(int fromCityId, int toCityId, int loadTypeId, string spAction, string bookingNo)
 {
     var post = new TMSDataLibrary.Post();
     return post.GetPosts(fromCityId, toCityId, loadTypeId, spAction, bookingNo);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Get All Posts on the basis of FromCity, ToCity And ScheduledDate.
 /// </summary>
 /// <param name="fromCityId">Source City of booking.</param>
 /// <param name="toCityId">Destination City of booking.</param>
 /// <param name="schdDate">Scheduled Date of booking</param>
 /// <param name="loadType">Full Load Or Part Load.</param>
 /// <returns></returns>
 public static object GetPost(int fromCityId, int toCityId, DateTime schdDate, int loadType)
 {
     var oPost = new TMSDataLibrary.Post();
     return oPost.GetPosts(fromCityId, toCityId, schdDate, loadType);
 }
Exemplo n.º 3
0
 /// <summary>
 /// Getv All Posts
 /// </summary>
 /// <returns>datatable of posts</returns>
 public static DataTable GetPost()
 {
     var post = new TMSDataLibrary.Post();
     return post.GetPosts();
 }