Exemplo n.º 1
0
 public VehicleCheckInViewModel(string vehicleType)
 {
     this.vehicleBusinessLogic = new VehicleBusinessLogic();
     this.vehicle             = new Vehicle();
     this.vehicle.VehicleType = vehicleType;
     isVisibleDisplacement    = VehicleBLHelper.IsMotorcycle(this.vehicle);
 }
Exemplo n.º 2
0
 private void RemoveItem()
 {
     if (VehicleBLHelper.IsMotorcycle(this))
     {
         RemoveMotorcycleItem();
     }
     else
     {
         RemoveCarItem();
     }
 }