public ChargeAdded(User owner, string location, string car, DateTime date, Percentage loadStart, Percentage loadEnd, decimal pricePerKw, BatteryCapacity batteryCapacity) { this.Owner = owner; this.Location = location; this.Car = car; this.Date = date; this.LoadStart = loadStart; this.LoadEnd = loadEnd; this.PricePerKw = pricePerKw; this.BatteryCapacity = batteryCapacity; }
public Car(string title, BatteryCapacity batteryCapacity, User owner) { this.Title = title; this.BatteryCapacity = batteryCapacity; this.Owner = owner; }
public CarEdited(string title, BatteryCapacity batteryCapacity) { this.Title = title; this.BatteryCapacity = batteryCapacity; }