public static Vehicle CreateSavedVehicle(DateTime dateAssembled) { Vehicle vehicle = CreateUnsavedVehicle(DateTime.Now); vehicle.Save(); return(vehicle); }
public static Vehicle CreateSavedVehicle() { Vehicle vehicle = CreateUnsavedVehicle(); vehicle.Save(); return(vehicle); }