public void AddVehicle(Vehicle vehicle) { Vehicles_CRUD vehicleobj = new Vehicles_CRUD(); vehicleobj.InsertUpdateVehicle(vehicle, 1); }
public void UpdateVehicle(Vehicle vehicle) { Vehicles_CRUD obj = new Vehicles_CRUD(); obj.InsertUpdateVehicle(vehicle, 2); }