Ejemplo n.º 1
1
 public Rent(Vehicle whatVehicle, Customer whatCustomer, DateTime fromDate, DateTime toDate)
 {
     WhatVehicle = whatVehicle;
     WhatCustomer = whatCustomer;
     FromDate = fromDate;
     ToDate = toDate;
 }
Ejemplo n.º 2
1
 public AdditionalEquipment(Vehicle vehicle, string disc, string name, string type, Price price)
 {
     Vehicle = vehicle;
     Disc = disc;
     Name = name;
     Type = type;
     Price = price;
 }