Ejemplo n.º 1
0
 /// <summary>
 /// Delete Vehicle Document
 /// </summary>
 /// <param name="vehicleDocId">User Document Id</param>
 /// <returns>return success 1</returns>
 public static int DeleteVehicleDocument(int vehicleDocId)
 {
     int result;
     TMSDataLibrary.VehicleDocument objVehDocument = new TMSDataLibrary.VehicleDocument();
     result = objVehDocument.DeleteVehicleDocument(vehicleDocId);
     return result;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Add Vehicle Document
 /// </summary>
 /// <param name="vehicleDocument">Transport Document</param>
 /// <returns>returm success 1</returns>
 public static int AddVehicleDocument(VehicleDocument vehicleDocument)
 {
     int result;
     TMSDataLibrary.VehicleDocument objVehDocument = new TMSDataLibrary.VehicleDocument();
     result = objVehDocument.AddVehicleDocument(vehicleDocument.TransporterVehicleid, vehicleDocument.DocTypeId, vehicleDocument.DocumentNo,
         vehicleDocument.DocPath, vehicleDocument.ValidFrom, vehicleDocument.ValidTo, vehicleDocument.RTO);
     return result;
 }
Ejemplo n.º 3
0
 /// <summary>
 /// get transporter vehicle document
 /// </summary>
 /// <param name="transporterId">Transporter Id</param>
 /// <returns></returns>
 public static DataTable GetTranVehicleDocument(int transporterId)
 {
     TMSDataLibrary.VehicleDocument objVehicleDoc = new TMSDataLibrary.VehicleDocument();
     return objVehicleDoc.GetTranVehicleDocument(transporterId);
 }