public Data.Vehicle ToDataEntity(int?id = null) { return(new Data.Vehicle(id ?? Id, Brand, Model, Color.ToString(), LicensePlate.ToString(), VehicleType.Car)); }
public override string ToString() { return(LicensePlate.ToString()); }
public Data.Vehicle ToDataEntity(int?id = null) { return(new Data.Vehicle(id ?? Id, Brand, Model, Color.ToString(), LicensePlate.ToString(), VehicleType.Car)); }
public override string ToString() { return(LicensePlate.ToString()); }