public TransmitionTypeViewModel CopyFields(TransmitionType from, TransmitionTypeViewModel to) { if (to == null) { throw new NullReferenceException(); } if (from == null) { throw new NullReferenceException(); } to.Id = from.Id; to.Name = from.Name; return(to); }
public Transmition(int GearCount, TransmitionType type) { this.GearCount = GearCount; this.transmitionType = type; }